|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the method required to increment the label used in the MasterBuild process. This label is incorporated into the log filename when a successful build occurs.
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 |
Method Detail |
public java.lang.String incrementLabel(java.lang.String oldLabel, org.jdom.Element buildLog)
buildLog
- JDOM Element
representation of the build.oldLabel
- Label from previous successful build.
public boolean isPreBuildIncrementer()
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.
public boolean isValidLabel(java.lang.String label)
LabelIncrementer
label
- user-supplied label
public java.lang.String getDefaultLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |