|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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()
|
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 lastest 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 "projet 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()
|
RequirementSet |
getRequirementSet()
|
java.io.File |
getSourceCodeDirectory()
Returns a file representing the source directory from the Repository |
int |
hashCode()
|
boolean |
isMarkedForDeletion()
Whether or not the build has been marked for deletion |
boolean |
isSuspendedFromBuilding()
Checks if the build has been |
void |
markForDeletion()
Marks the build to be deleted. |
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 |
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 |
setProject(Project project)
|
void |
setRequirementSet(RequirementSet requirementSet)
|
void |
setSuspendedFromBuilding(boolean suspendedFromBuilding)
Sets the build to suspend temporarily |
void |
unMarkForDeletion()
Build will no longer be marked for deletion |
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 |
---|
accept, getCurrentStatus, isExecuting, isInBuildQueue, validateBuild |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
getId, setId |
Constructor Detail |
---|
public AbstractPlan()
Method Detail |
---|
@NotNull public PlanKey getPlanKey()
Plan
PlanKey
identifier for this Plan
getPlanKey
in interface Plan
public java.lang.String getKey()
Plan
getKey
in interface Plan
public void setKey(java.lang.String key)
setKey
in interface Plan
public java.lang.String getBuildKey()
Plan
getBuildKey
in interface Plan
public void setBuildKey(java.lang.String buildKey)
Plan
setBuildKey
in interface Plan
buildKey
- The value of the keypublic java.lang.String getName()
Plan
getName
in interface Plan
getName
in interface DescriptionProvider
getName
in interface NameProvider
public void setName(java.lang.String name)
setName
in interface Describable
public java.lang.String getBuildName()
Plan
getBuildName
in interface Plan
public void setBuildName(java.lang.String buildName)
setBuildName
in interface Plan
public 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
Plan
Repository
getSourceCodeDirectory
in interface Plan
RepositoryException
public void markForDeletion()
Plan
markForDeletion
in interface Plan
public void unMarkForDeletion()
Plan
unMarkForDeletion
in interface Plan
public boolean isMarkedForDeletion()
Plan
isMarkedForDeletion
in interface Plan
public void setMarkedForDeletion(boolean markedForDeletion)
public void setSuspendedFromBuilding(boolean suspendedFromBuilding)
Plan
setSuspendedFromBuilding
in interface Plan
public boolean isSuspendedFromBuilding()
Plan
isSuspendedFromBuilding
in interface Plan
public BuildLogger getBuildLogger()
Plan
getBuildLogger
in interface Plan
BuildLogger
. @NotNullpublic int getLastBuildNumber()
Plan
getLastBuildNumber
in interface Plan
public int getFirstBuildNumber()
Plan
getFirstBuildNumber
in interface Plan
public void setLastBuildNumber(int lastBuildNumber)
setLastBuildNumber
in interface Plan
public void setFirstBuildNumber(int firstBuildNumber)
setFirstBuildNumber
in interface Plan
public java.lang.String getLastVcsRevisionKey()
Plan
getLastVcsRevisionKey
in interface Plan
public void setLastVcsRevisionKey(java.lang.String lastVcsRevisionKey)
setLastVcsRevisionKey
in interface Plan
public void setProject(Project project)
setProject
in interface Plan
public int getNextBuildNumber()
Plan
getNextBuildNumber
in interface Plan
public void setNextBuildNumber(int nextBuildNumber)
setNextBuildNumber
in interface Plan
public BuildDefinition getBuildDefinition()
Plan
BuildDefinition
that backs this buildd
getBuildDefinition
in interface Plan
BuildDefinition
object. Never null.public Project getProject()
Plan
Project
getProject
in interface Plan
Project
. Never nullpublic BuildDefinitionForBuild getBuildDefinitionXml()
getBuildDefinitionXml
in interface Plan
public void setBuildDefinitionXml(BuildDefinitionForBuild buildDefinitionXml)
setBuildDefinitionXml
in interface Plan
public java.util.List<Labelling> getLabellings()
getLabellings
in interface Plan
public java.util.List<Labelling> getRelatedLabellings()
getRelatedLabellings
in interface Plan
public void setLabellings(java.util.List<Labelling> labellings)
setLabellings
in interface Plan
public NotificationSet getNotificationSet()
getNotificationSet
in interface Plan
public void setNotificationSet(NotificationSet notificationSet)
setNotificationSet
in interface Plan
@NotNull public RequirementSet getRequirementSet()
getRequirementSet
in interface Plan
public void setRequirementSet(RequirementSet requirementSet)
setRequirementSet
in interface Plan
public void setBuildDefinitionManager(BuildDefinitionManager buildDefinitionManager)
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public boolean equals(java.lang.Object o)
equals
in class com.atlassian.core.bean.EntityObject
public 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 |