Package de.espirit.firstspirit.storage
Interface Revision
- All Superinterfaces:
Comparable<Revision>
,Serializable
Definition of a container providing information about a revision.
- Since:
- 4.0.47
-
Method Summary
Modifier and TypeMethodDescriptionReturns the comment of this revision.long
Returns the time of commit or the
if the revision is not commited yet.creation time
long
Returns the time of creation of this revisionReturns the editor string of this revision in the format 'EDITOR_NAME [ID=123]'long
Returns the user id of the editor of this revision or-1
if the id is missing in theeditor string
long
getId()
Returns the revision id of this revision.Returns the metadata of this revision.de.espirit.storage.Revision.State
getState()
Returns the current state of this revision.getTags()
Return list of all tags for this revision.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getId
long getId()Returns the revision id of this revision.- Since:
- 4.0.47
-
getComment
String getComment()Returns the comment of this revision. This can be a editor specific comment or an system specific comment, dependent on theproject comment mode settings
- Returns:
- the comment of this revision
- Since:
- 4.0.47
- See Also:
-
getEditor
String getEditor()Returns the editor string of this revision in the format 'EDITOR_NAME [ID=123]'- Since:
- 4.0.47
-
getEditorId
long getEditorId()Returns the user id of the editor of this revision or-1
if the id is missing in theeditor string
- Returns:
- the user id of the editor or
-1
if no id was set - Since:
- 4.0.47
- See Also:
-
getState
@NotNull de.espirit.storage.Revision.State getState()Returns the current state of this revision.- Since:
- 4.0.47
-
getCreationTime
long getCreationTime()Returns the time of creation of this revision- Since:
- 4.0.47
- See Also:
-
getCommitOrCreationTime
long getCommitOrCreationTime()Returns the time of commit or the
if the revision is not commited yet.creation time
- Since:
- 4.0.47
- See Also:
-
getMetaData
Returns the metadata of this revision.- Throws:
IOException
- Since:
- 4.0.47
-
getTags
Return list of all tags for this revision.- Throws:
IOException
- Since:
- 4.2.400
-