public interface ICommitResultFragment
This interface gives access to:
isEmpty()
: can be used to test if anything was committed.
Modifier and Type | Method and Description |
---|---|
java.util.Collection<MObject> |
getAddedElements()
Get the list of CMS elements added to version control.
|
java.lang.String |
getCommitAuthor()
Get the author of the commit.
|
java.util.Date |
getCommitDate()
Get the commit date.
|
java.lang.String |
getCommittedRevision()
Get the committed revision.
|
java.util.Collection<MRef> |
getDeletedElements()
Get the list of references of elements removed from version.
|
java.util.Collection<ICommitEntry> |
getEntries()
Get all model object modifications at a whole.
|
IGetLockResult |
getLockResult()
Get the result of "Get lock" on added elements.
|
java.lang.String |
getMessage()
Get the commit message filled by the user.
|
java.util.Collection<MObject> |
getModifiedElements()
Get the list of modified CMS nodes.
|
java.util.Collection<java.io.File> |
getOtherAddedFiles()
Get the non model files added to the repository.
|
java.util.Collection<java.io.File> |
getOtherDeletedFiles()
Get the non model files deleted from repository.
|
java.util.Collection<java.io.File> |
getOtherModifiedFiles()
Get the non model files modified in repository.
|
IGModelFragment |
getProjectFragment() |
ICmsUnlockResult |
getUnlockResult()
Get the result of the "unlock" operation that may be done optionally.
|
boolean |
isEmpty()
Returns true if there is nothing to commit.
|
java.util.Collection<MObject> getModifiedElements()
java.util.Collection<MObject> getAddedElements()
java.util.Collection<MRef> getDeletedElements()
java.lang.String getMessage()
null
if nothing was committed.boolean isEmpty()
java.lang.String getCommittedRevision()
null
if nothing was committed.java.util.Date getCommitDate()
null
if nothing was committed.java.lang.String getCommitAuthor()
null
if nothing was committed.java.util.Collection<ICommitEntry> getEntries()
Contains all additions, modifications and deletions.
IGModelFragment getProjectFragment()
IGetLockResult getLockResult()
Returns something only when elements were added to version and "keep locks" was asked.
ICmsUnlockResult getUnlockResult()
Returns something only when "unlock" was run. Returns null if no such unlock was run.
java.util.Collection<java.io.File> getOtherAddedFiles()
java.util.Collection<java.io.File> getOtherModifiedFiles()
java.util.Collection<java.io.File> getOtherDeletedFiles()