|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BuildDefinition
Each build has a BuildDefinition. This class encapsupate the confiuguration aspects of a build. What the
actual builds look like? What should be executed?
| Method Summary | |
|---|---|
void |
addArtifact(Artifact artifact)
Add a new artifact to the existing build artifacts |
void |
addBuildDependency(String buildKey)
|
Map |
getArtifacts()
Get the custom Artifacts. |
List |
getBuildChangedEmailList()
Who wants to know when the build changes? A list of individual email addresses. |
String |
getBuildChangedEmails()
Who wants to know when the build changes? One or more email addresses (comma separated list) |
List |
getBuildDependencies()
Deprecated. use Build.getChildBuilds() instead. |
Builder |
getBuilder()
Obtain the build's Builder. |
BuildStrategy |
getBuildStrategy()
Returns to BuildStrategy that the user actually selects |
Map |
getCustomConfiguration()
|
EmailStrategy |
getEmailStrategy()
What email strategy does this build have? |
String |
getExportStatusStyle()
|
int |
getPollingPeriod()
How long should we wait between checking the build to see if it need building? |
Repository |
getRepository()
Obtain the build's Repository. |
XmppMessageSender |
getXmppMessageSender()
The build's option IM message server configuration |
boolean |
hasBuildDependency(String buildKey)
|
void |
removeBuildDependency(String buildKey)
|
void |
setArtifacts(Map artifacts)
Replace the build's artifacts with these ones. |
void |
setBuildChangedEmails(String emailAddress)
Define who is notified of build results by email |
void |
setBuildDependencies(Set buildDependencies)
Set of String represneting the build keys |
void |
setBuilder(Builder builder)
Set the build's builder. |
void |
setBuildStrategy(BuildStrategy buildStrategy)
Set the strategy to override the default build strategy. |
void |
setCustomConfiguration(Map configMap)
|
void |
setEmailStrategy(EmailStrategy emailStrategy)
Define when build build email need to be sent |
void |
setExportStatusStyle(String exportStatus)
|
void |
setPollingPeriod(int pollingPeriod)
How long should we wait between checking the build to see if it need building? |
void |
setRepository(Repository repository)
Set the build's source code repository. |
void |
setWorkingDirectory(String buildDirectory)
Deprecated. |
void |
setXmppMessageSender(XmppMessageSender xmppMessageSender)
The build's option IM message server configuration |
| Method Detail |
|---|
BuildStrategy getBuildStrategy()
BuildStrategy that the user actually selects
BuildStrategyvoid setBuildStrategy(BuildStrategy buildStrategy)
buildStrategy - The next build strategy to use.Repository getRepository()
Repository.
void setRepository(Repository repository)
repository - The source repoisitoryint getPollingPeriod()
void setPollingPeriod(int pollingPeriod)
pollingPeriod - The time in secondsBuilder getBuilder()
Builder.
void setBuilder(Builder builder)
builder - the builderString getBuildChangedEmails()
List getBuildChangedEmailList()
void setBuildChangedEmails(String emailAddress)
emailAddress - The build email addressEmailStrategy getEmailStrategy()
void setEmailStrategy(EmailStrategy emailStrategy)
emailStrategy - the strategy to use from now onvoid addBuildDependency(String buildKey)
void removeBuildDependency(String buildKey)
boolean hasBuildDependency(String buildKey)
void setBuildDependencies(Set buildDependencies)
String represneting the build keys
buildDependencies - List getBuildDependencies()
Build.getChildBuilds() instead.
Map getArtifacts()
Artifacts.
void addArtifact(Artifact artifact)
artifact - void setArtifacts(Map artifacts)
artifacts - void setWorkingDirectory(String buildDirectory)
buildDirectory - XmppMessageSender getXmppMessageSender()
void setXmppMessageSender(XmppMessageSender xmppMessageSender)
void setExportStatusStyle(String exportStatus)
String getExportStatusStyle()
Map getCustomConfiguration()
void setCustomConfiguration(Map configMap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||