|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.util.PerDayScheduleItem
net.sourceforge.cruisecontrol.Builder
public abstract class Builder
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.cruisecontrol.util.PerDayScheduleItem |
|---|
INVALID_NAME_OF_DAY, NOT_SET |
| Constructor Summary | |
|---|---|
Builder()
|
|
| Method Summary | |
|---|---|
abstract org.jdom.Element |
build(java.util.Map properties,
Progress progress)
Execute a build. |
abstract org.jdom.Element |
buildWithTarget(java.util.Map properties,
java.lang.String target,
Progress progress)
Execute a build with the given target. |
int |
compareTo(java.lang.Object o)
used to sort builders. |
java.lang.String |
getGroup()
|
int |
getMultiple()
|
boolean |
getShowProgress()
|
int |
getTime()
|
boolean |
isValidDay(java.util.Date now)
Is this the correct day to be running this builder? |
void |
setGroup(java.lang.String group)
|
void |
setMultiple(int multiple)
can use Builder.NOT_SET to reset. |
void |
setShowProgress(boolean showProgress)
|
void |
setTime(java.lang.String timeString)
can use ScheduleItem.NOT_SET to reset. |
void |
validate()
|
| Methods inherited from class net.sourceforge.cruisecontrol.util.PerDayScheduleItem |
|---|
getDay, setDay |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Builder()
| Method Detail |
|---|
public abstract org.jdom.Element build(java.util.Map properties,
Progress progress)
throws CruiseControlException
properties - build propertiesprogress - callback to provide progress updates
CruiseControlException - if something breaks
public abstract org.jdom.Element buildWithTarget(java.util.Map properties,
java.lang.String target,
Progress progress)
throws CruiseControlException
properties - build propertiestarget - the build target to call, overrides target defined in configprogress - callback to provide progress updates
CruiseControlException - if something breaks
public void validate()
throws CruiseControlException
CruiseControlExceptionpublic int getTime()
public void setTime(java.lang.String timeString)
timeString - new time integerpublic void setMultiple(int multiple)
multiple - new multiplepublic int getMultiple()
public java.lang.String getGroup()
public void setGroup(java.lang.String group)
public void setShowProgress(boolean showProgress)
public boolean getShowProgress()
public boolean isValidDay(java.util.Date now)
now - the current date
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||