public interface Revision extends Serializable, Comparable<Revision>
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Returns the comment of this revision.
|
long |
getCommitOrCreationTime()
Returns the time of commit or the
if the revision is not
commited yet. |
long |
getCreationTime()
Returns the time of creation of this revision
|
String |
getEditor()
Returns the editor string of this revision in the format 'EDITOR_NAME [ID=123]'
|
long |
getEditorId()
Returns the user id of the editor of this revision or
-1 if the
id is missing in the editor string |
long |
getId()
Returns the revision id of this revision.
|
RevisionMetaData |
getMetaData()
Returns the metadata of this revision.
|
de.espirit.storage.Revision.State |
getState()
Returns the current state of this revision.
|
List<Tag> |
getTags()
Return list of all tags for this revision.
|
compareTo
long getId()
String getComment()
project comment mode settings
Project.CommentMode
String getEditor()
long getEditorId()
-1
if the
id is missing in the editor string
-1
if no id was setgetEditor()
@NotNull de.espirit.storage.Revision.State getState()
long getCreationTime()
getCommitOrCreationTime()
long getCommitOrCreationTime()
creation time
if the revision is not
commited yet.getState()
,
getCreationTime()
RevisionMetaData getMetaData() throws IOException
IOException
List<Tag> getTags() throws IOException
IOException
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500