org.jvnet.hudson.test
Class FakeChangeLogSCM.EntryImpl

java.lang.Object
  extended by hudson.scm.ChangeLogSet.Entry
      extended by org.jvnet.hudson.test.FakeChangeLogSCM.EntryImpl
Enclosing class:
FakeChangeLogSCM

public static class FakeChangeLogSCM.EntryImpl
extends ChangeLogSet.Entry


Constructor Summary
FakeChangeLogSCM.EntryImpl()
           
 
Method Summary
 Collection<String> getAffectedPaths()
          Returns a set of paths in the workspace that was affected by this change.
 User getAuthor()
          The user who made this change.
 String getMsg()
          Gets the "commit message".
 FakeChangeLogSCM.EntryImpl withAuthor(String author)
           
 FakeChangeLogSCM.EntryImpl withMsg(String msg)
           
 
Methods inherited from class hudson.scm.ChangeLogSet.Entry
getAffectedFiles, getCommitId, getMsgAnnotated, getMsgEscaped, getParent, getTimestamp, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FakeChangeLogSCM.EntryImpl

public FakeChangeLogSCM.EntryImpl()
Method Detail

withAuthor

public FakeChangeLogSCM.EntryImpl withAuthor(String author)

withMsg

public FakeChangeLogSCM.EntryImpl withMsg(String msg)

getMsg

public String getMsg()
Description copied from class: ChangeLogSet.Entry
Gets the "commit message".

The exact definition depends on the individual SCM implementation.

Specified by:
getMsg in class ChangeLogSet.Entry
Returns:
Can be empty but never null.

getAuthor

public User getAuthor()
Description copied from class: ChangeLogSet.Entry
The user who made this change.

Specified by:
getAuthor in class ChangeLogSet.Entry
Returns:
never null.

getAffectedPaths

public Collection<String> getAffectedPaths()
Description copied from class: ChangeLogSet.Entry
Returns a set of paths in the workspace that was affected by this change.

Contains string like 'foo/bar/zot'. No leading/trailing '/', and separator must be normalized to '/'.

Specified by:
getAffectedPaths in class ChangeLogSet.Entry
Returns:
never null.


Copyright © 2004-2013. All Rights Reserved.