public class FakeRevision extends java.lang.Object implements ContentRevision
Constructor and Description |
---|
FakeRevision(FilePath file) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Content of the revision.
|
FilePath |
getFile() |
VcsRevisionNumber |
getRevisionNumber()
Revision ID.
|
java.lang.String |
toString() |
public FakeRevision(FilePath file)
public java.lang.String getContent()
ContentRevision
getContent
in interface ContentRevision
public FilePath getFile()
getFile
in interface ContentRevision
public VcsRevisionNumber getRevisionNumber()
ContentRevision
VcsRevisionNumber.NULL
is returned. Use VcsRevisionNumber.NULL
when revision number is not applicable like for
the currently uncommitted revision.getRevisionNumber
in interface ContentRevision
public java.lang.String toString()
toString
in class java.lang.Object