net.sourceforge.cruisecontrol.builders
Class CompositeBuilder
java.lang.Object
net.sourceforge.cruisecontrol.util.PerDayScheduleItem
net.sourceforge.cruisecontrol.Builder
net.sourceforge.cruisecontrol.builders.CompositeBuilder
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public class CompositeBuilder
- extends Builder
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeBuilder
public CompositeBuilder()
add
public void add(Builder builder)
build
public org.jdom.Element build(java.util.Map properties,
Progress progressIn)
throws CruiseControlException
- Description copied from class:
Builder
- Execute a build.
- Specified by:
build in class Builder
- Parameters:
properties - build propertiesprogressIn - callback to provide progress updates
- Returns:
- the log resulting from executing the build
- Throws:
CruiseControlException - if something breaks
buildWithTarget
public org.jdom.Element buildWithTarget(java.util.Map properties,
java.lang.String target,
Progress progressIn)
throws CruiseControlException
- Description copied from class:
Builder
- Execute a build with the given target.
- Specified by:
buildWithTarget in class Builder
- Parameters:
properties - build propertiestarget - the build target to call, overrides target defined in configprogressIn - callback to provide progress updates
- Returns:
- the log resulting from executing the build
- Throws:
CruiseControlException - if something breaks
validate
public void validate()
throws CruiseControlException
- Overrides:
validate in class Builder
- Throws:
CruiseControlException
getBuilders
public Builder[] getBuilders()
- Returns:
- array of the builders in this composite.
setTimeout
public void setTimeout(long timeout)
- Parameters:
timeout - The timeout (in seconds) to set.