Package com.exedio.cope
Class Revision
- java.lang.Object
-
- com.exedio.cope.Revision
-
public final class Revision extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<String>
getBody()
The statements listed here are guaranteed to be executed subsequently in the order specified by the list by one singleconnection
.String
getComment()
int
getNumber()
int
getRevision()
Deprecated.UsegetNumber()
insteadint
getVersion()
Deprecated.UsegetNumber()
insteadstatic Properties
parse(byte[] info)
Deprecated.UseRevisionInfo.parse(byte[])
insteadString
toString()
-
-
-
Method Detail
-
getNumber
public int getNumber()
-
getComment
public String getComment()
-
getBody
public List<String> getBody()
The statements listed here are guaranteed to be executed subsequently in the order specified by the list by one singleconnection
. So you may use connection states within a revision.For each revision a new
connection
is created. That connection is not used for any other purpose afterwards so you don't have to cleanup connection state at the end of each revision. This is for minimizing effects between revisions.
-
parse
@Deprecated public static Properties parse(byte[] info)
Deprecated.UseRevisionInfo.parse(byte[])
instead
-
getVersion
@Deprecated public int getVersion()
Deprecated.UsegetNumber()
instead
-
getRevision
@Deprecated public int getRevision()
Deprecated.UsegetNumber()
instead
-
-