net.sourceforge.cruisecontrol
Interface LabelIncrementer
- All Known Implementing Classes:
- DefaultLabelIncrementer
- public interface LabelIncrementer
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.
- Author:
- alden almagro (alden@thoughtworks.com), Paul Julius (pdjulius@thoughtworks.com), ThoughtWorks, Inc. 2001
Method Summary |
java.lang.String |
incrementLabel(java.lang.String oldLabel)
Increments the label when a successful build occurs. |
incrementLabel
public java.lang.String incrementLabel(java.lang.String oldLabel)
- Increments the label when a successful build occurs.
The oldLabel should be transformed and returned as
the new label.
- Parameters:
oldLabel
- Label from previous successful build.- Returns:
- Label to use for most recent successful build.