|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.plan.AbstractPlan
public abstract class AbstractPlan
| Field Summary |
|---|
| Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
|---|
id |
| Fields inherited from interface com.atlassian.bamboo.plan.Plan |
|---|
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS |
| Constructor Summary | |
|---|---|
AbstractPlan()
|
|
| Method Summary | |
|---|---|
int |
compareTo(Plan plan)
|
boolean |
equals(java.lang.Object o)
|
BuildDefinition |
getBuildDefinition()
Returns the BuildDefinition that backs this buildd |
BuildDefinitionForBuild |
getBuildDefinitionXml()
|
java.lang.String |
getBuildKey()
Thie returns the build portion of the build key |
BuildLogger |
getBuildLogger()
Returns the helper object to deal with logging |
java.lang.String |
getBuildName()
Returns the name for the build in the form of "build name" e.g. |
java.lang.String |
getDescription()
|
java.lang.String |
getDiscriminator()
|
int |
getFirstBuildNumber()
What the number of the first build we have? It may not be 1 as some may have been removed! |
java.lang.String |
getKey()
Obtain the build's unique key (uppercase alphanumeric). |
java.util.List<Labelling> |
getLabellings()
|
int |
getLastBuildNumber()
What was the number of the latest build (may be being built) |
java.lang.String |
getLastVcsRevisionKey()
The string value representing the last build triggered. |
java.lang.String |
getName()
Returns the full name for the build in the form of "project name - build name" e.g. |
int |
getNextBuildNumber()
The next build number represents the number of the next build result that's to be executed |
NotificationSet |
getNotificationSet()
|
PlanKey |
getPlanKey()
Get the PlanKey identifier for this Plan |
Project |
getProject()
Returns the parent Project |
java.util.List<Labelling> |
getRelatedLabellings()
|
java.io.File |
getSourceCodeDirectory()
Returns a file representing the source directory from the Repository |
java.util.List<TestClass> |
getTestClasses()
|
int |
hashCode()
|
boolean |
hasTests()
Helper method checking if plan has tests defined |
boolean |
isBusy()
Is the Plan busy |
boolean |
isMarkedForDeletion()
|
boolean |
isSuspendedFromBuilding()
Checks if the build has been |
void |
setBuildDefinitionManager(BuildDefinitionManager buildDefinitionManager)
|
void |
setBuildDefinitionXml(BuildDefinitionForBuild buildDefinitionXml)
|
void |
setBuildKey(java.lang.String buildKey)
Define the build's unique key (uppercase alphanumeric) |
void |
setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
|
void |
setBuildName(java.lang.String buildName)
|
void |
setDescription(java.lang.String description)
|
void |
setDiscriminator(java.lang.String discriminator)
|
void |
setFirstBuildNumber(int firstBuildNumber)
|
void |
setKey(java.lang.String key)
|
void |
setLabellings(java.util.List<Labelling> labellings)
|
void |
setLastBuildNumber(int lastBuildNumber)
|
void |
setLastVcsRevisionKey(java.lang.String lastVcsRevisionKey)
|
void |
setMarkedForDeletion(boolean markedForDeletion)
|
void |
setName(java.lang.String name)
|
void |
setNextBuildNumber(int nextBuildNumber)
|
void |
setNotificationSet(NotificationSet notificationSet)
|
void |
setPlanExecutionManager(PlanExecutionManager planExecutionManager)
|
void |
setProject(Project project)
|
void |
setSuspendedFromBuilding(boolean suspendedFromBuilding)
Sets the build to suspend temporarily |
void |
setTestClasses(java.util.List<TestClass> testCases)
|
| Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject |
|---|
getId, setId |
| Methods inherited from class com.atlassian.core.bean.EntityObject |
|---|
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.bamboo.plan.Plan |
|---|
getAverageBuildDuration, getCurrentStatus, getLatestResultsSummary, getType, isActive, isExecuting, validateBuild |
| Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
|---|
getId, setId |
| Constructor Detail |
|---|
public AbstractPlan()
| Method Detail |
|---|
@NotNull public PlanKey getPlanKey()
PlanPlanKey identifier for this Plan
getPlanKey in interface Planpublic java.lang.String getKey()
Plan
getKey in interface Planpublic void setKey(java.lang.String key)
setKey in interface Planpublic java.lang.String getBuildKey()
Plan
getBuildKey in interface Planpublic void setBuildKey(java.lang.String buildKey)
Plan
setBuildKey in interface PlanbuildKey - The value of the keypublic java.lang.String getName()
Plan
getName in interface PlangetName in interface DescriptionProvidergetName in interface NameProviderpublic void setName(java.lang.String name)
setName in interface Describablepublic java.lang.String getBuildName()
Plan
getBuildName in interface Planpublic void setBuildName(java.lang.String buildName)
setBuildName in interface Planpublic java.lang.String getDescription()
getDescription in interface DescriptionProvider
public void setDescription(@Nullable
java.lang.String description)
setDescription in interface Describable
public java.io.File getSourceCodeDirectory()
throws RepositoryException
PlanRepository
getSourceCodeDirectory in interface PlanRepositoryExceptionpublic boolean isMarkedForDeletion()
isMarkedForDeletion in interface Deletablepublic void setMarkedForDeletion(boolean markedForDeletion)
setMarkedForDeletion in interface Deletablepublic void setSuspendedFromBuilding(boolean suspendedFromBuilding)
Plan
setSuspendedFromBuilding in interface Planpublic boolean isSuspendedFromBuilding()
Plan
isSuspendedFromBuilding in interface Planpublic boolean isBusy()
PlanPlan busy
isBusy in interface Planpublic BuildLogger getBuildLogger()
Plan
getBuildLogger in interface PlanBuildLogger. @NotNullpublic int getLastBuildNumber()
Plan
getLastBuildNumber in interface Planpublic int getFirstBuildNumber()
Plan
getFirstBuildNumber in interface Planpublic void setLastBuildNumber(int lastBuildNumber)
setLastBuildNumber in interface Planpublic void setFirstBuildNumber(int firstBuildNumber)
setFirstBuildNumber in interface Plan@NotNull public java.util.List<TestClass> getTestClasses()
public void setTestClasses(java.util.List<TestClass> testCases)
public java.lang.String getLastVcsRevisionKey()
Plan
getLastVcsRevisionKey in interface Planpublic void setLastVcsRevisionKey(java.lang.String lastVcsRevisionKey)
setLastVcsRevisionKey in interface Planpublic boolean hasTests()
Plan
hasTests in interface Planpublic void setProject(Project project)
setProject in interface Planpublic int getNextBuildNumber()
Plan
getNextBuildNumber in interface Planpublic void setNextBuildNumber(int nextBuildNumber)
setNextBuildNumber in interface Planpublic BuildDefinition getBuildDefinition()
PlanBuildDefinition that backs this buildd
getBuildDefinition in interface PlanBuildDefinition object. Never null.public Project getProject()
PlanProject
getProject in interface PlanProject. Never nullpublic BuildDefinitionForBuild getBuildDefinitionXml()
getBuildDefinitionXml in interface Planpublic void setBuildDefinitionXml(BuildDefinitionForBuild buildDefinitionXml)
setBuildDefinitionXml in interface Planpublic java.util.List<Labelling> getLabellings()
getLabellings in interface Planpublic java.util.List<Labelling> getRelatedLabellings()
getRelatedLabellings in interface Planpublic void setLabellings(java.util.List<Labelling> labellings)
setLabellings in interface Planpublic NotificationSet getNotificationSet()
public void setNotificationSet(NotificationSet notificationSet)
public void setPlanExecutionManager(PlanExecutionManager planExecutionManager)
public void setBuildDefinitionManager(BuildDefinitionManager buildDefinitionManager)
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
public java.lang.String getDiscriminator()
public void setDiscriminator(java.lang.String discriminator)
public int hashCode()
hashCode in class com.atlassian.core.bean.EntityObjectpublic boolean equals(java.lang.Object o)
equals in class com.atlassian.core.bean.EntityObjectpublic int compareTo(Plan plan)
compareTo in interface java.lang.Comparable<Plan>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||