public interface Version
Modifier and Type | Method and Description |
---|---|
void |
commit(boolean isMajor)
make the private working copy an official version.
|
String |
getCheckinComment()
Get the check-in comment.
|
VersionedDocument |
getParentDocument()
Get the versioned document (parent) of this version.
|
String |
getVersionLabel()
Get the version label.
|
boolean |
isMajor()
Check if this version is a major version.
|
boolean |
isPwc()
Check if this version is a private working copy.
|
void |
setCheckinComment(String comment)
Set the check.in comment.
|
boolean isMajor()
boolean isPwc()
void commit(boolean isMajor)
isMajor
- true if major version, false if it is a minor versionvoid setCheckinComment(String comment)
comment
- check-in commentString getCheckinComment()
String getVersionLabel()
VersionedDocument getParentDocument()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.