Package hudson.scm
Class CVSChangeLogSet.Revision
java.lang.Object
hudson.scm.CVSChangeLogSet.Revision
- Enclosing class:
- CVSChangeLogSet
Represents CVS revision number like "1.5.3.2". Immutable.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a newCVSChangeLogSet.Revision
that represents the previous revision.toString()
-
Field Details
-
numbers
public final int[] numbers
-
-
Constructor Details
-
Revision
public Revision(int[] numbers) -
Revision
-
-
Method Details
-
getPrevious
Returns a newCVSChangeLogSet.Revision
that represents the previous revision. For example,"1.5"->"1.4", "1.5.2.13"->"1.5.2.12", "1.5.2.1"->"1.5"
- Returns:
- null if there's no previous version, meaning this is "1.1"
-
toString
-