public static class Revision.Number extends Revision
Revision.DateSpec, Revision.Kind, Revision.Number
Modifier and Type | Field and Description |
---|---|
protected long |
revNumber
the revision number
|
Constructor and Description |
---|
Number(long number)
create a revision by number object
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object target)
compare to revision objects
|
long |
getNumber()
Returns the revision number
|
int |
hashCode() |
Revision |
toApache() |
java.lang.String |
toString()
return the textual representation of the revision
|
createFromApache, getInstance, getInstance, getKind
public Number(long number)
number
- the numberjava.lang.IllegalArgumentException
- If the specified revision
number is invalid.