|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.labelincrementers.PropertyFileLabelIncrementer
| Constructor Summary | |
PropertyFileLabelIncrementer()
|
|
| 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 |
void |
setDefaultLabel(java.lang.String defaultLabel)
|
void |
setPreBuildIncrementer(boolean preBuildIncrementer)
|
void |
setPropertyFile(java.lang.String propertyFile)
|
void |
setPropertyName(java.lang.String propertyName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyFileLabelIncrementer()
| Method Detail |
public java.lang.String incrementLabel(java.lang.String oldLabel,
org.jdom.Element buildLog)
LabelIncrementer
incrementLabel in interface LabelIncrementerbuildLog - JDOM Element representation of the build.oldLabel - Label from previous successful build.
public boolean isValidLabel(java.lang.String label)
LabelIncrementerLabelIncrementer
isValidLabel in interface LabelIncrementerlabel - user-supplied label
public boolean isPreBuildIncrementer()
LabelIncrementerLabelIncrementer, 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 LabelIncrementerpublic java.lang.String getDefaultLabel()
LabelIncrementer
getDefaultLabel in interface LabelIncrementerpublic void setPreBuildIncrementer(boolean preBuildIncrementer)
public void setPropertyFile(java.lang.String propertyFile)
public void setPropertyName(java.lang.String propertyName)
public void setDefaultLabel(java.lang.String defaultLabel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||