|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.labelincrementers.EmptyLabelIncrementer
Constructor Summary | |
EmptyLabelIncrementer()
|
Method Summary | |
java.lang.String |
getDefaultLabel()
Called by Project when there is no previously serialized label. |
java.lang.String |
incrementLabel(java.lang.String oldLabel,
org.jdom.Element buildLog)
Increments the label when a successful build occurs. |
boolean |
isPreBuildIncrementer()
Some implementations of LabelIncrementer , such as those involving
dates, are better suited to being incremented before building rather
than after building. |
boolean |
isValidLabel(java.lang.String label)
Check the validity of a user-supplied label, making sure that it can be incremented successfully by the appropriate implementation of LabelIncrementer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmptyLabelIncrementer()
Method Detail |
public java.lang.String incrementLabel(java.lang.String oldLabel, org.jdom.Element buildLog)
LabelIncrementer
incrementLabel
in interface LabelIncrementer
buildLog
- JDOM Element
representation of the build.oldLabel
- Label from previous successful build.
public boolean isPreBuildIncrementer()
LabelIncrementer
LabelIncrementer
, such as those involving
dates, are better suited to being incremented before building rather
than after building. This method determines whether to increment before
building or after building.
isPreBuildIncrementer
in interface LabelIncrementer
public boolean isValidLabel(java.lang.String label)
LabelIncrementer
LabelIncrementer
isValidLabel
in interface LabelIncrementer
label
- user-supplied label
public java.lang.String getDefaultLabel()
LabelIncrementer
getDefaultLabel
in interface LabelIncrementer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |