Package com.atlassian.bamboo.chains
Class DefaultChain
java.lang.Object
com.atlassian.core.bean.EntityObject
- All Implemented Interfaces:
Chain,BambooIdProvider,BambooObject,BambooObjectWithOid,EntityWithOid,ImmutableEntityWithOid,Deletable,Describable,ImmutableChain,ImmutableDeletable,ImmutablePlan,ImmutableTopLevelPlan,Plan,PlanIdentifier,PlanKeyProvider,TopLevelPlan,Triggerable,DescriptionProvider,NameProvider,Versionable,Cloneable,Comparable<Plan>
-
Field Summary
Fields inherited from class com.atlassian.bamboo.plan.AbstractChain
master, NUMBER_OF_RESULTSFields inherited from class com.atlassian.bamboo.plan.AbstractPlan
internalResultsSummaryAccessorFields inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESSFields inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
NAME_DELIMITERFields inherited from interface com.atlassian.bamboo.plan.PlanKeyProvider
getPlanKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull PlanTypevoidSet which plan is the master of this plan.Methods inherited from class com.atlassian.bamboo.plan.AbstractChain
addNewStage, addStage, addStage, containsStage, getAllJobs, getAllStages, getAverageBuildDuration, getCurrentStatus, getJobCount, getLastResultKey, getMaster, getNotificationSet, getNotificationSetField, getPlanRepositoryDefinitions, getStages, getStorageTag, getTriggerDefinitions, getVcsBambooSpecsSource, isActive, isExecuting, isSuspended, removeStage, removeStagesIf, setAllStages, setBambooSpecsManager, setChainExecutionManager, setNotificationSet, setRepositoryDefinitionManager, setStorageTag, setVcsBambooSpecsSourceMethods inherited from class com.atlassian.bamboo.plan.AbstractPlan
compareTo, equals, getBuildDefinition, getBuildDefinitionXml, getBuildKey, getBuildLogger, getBuildName, getDatabaseId, getDescription, getDiscriminator, getEffectiveVariables, getFirstBuildNumber, getKey, getLabellings, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getMasterId, getMasterIdIfExists, getName, getPlanKey, getProject, getRelatedLabellings, getType, getVariables, getVersion, hashCode, hasMaster, isBusy, isMarkedForDeletion, isSuspendedFromBuilding, setBuildDefinitionManager, setBuildDefinitionXml, setBuildKey, setBuildLoggerManager, setBuildName, setDescription, setDiscriminator, setInternalResultsSummaryAccessor, setKey, setLabellings, setLabelManager, setMarkedForDeletion, setName, setPlanExecutionManager, setPlanKey, setProject, setSuspendedFromBuilding, setVariableDefinitionManager, setVersionMethods inherited from class com.atlassian.bamboo.hibernate.HibernateBambooEntityWithOid
getId, getOid, setId, setOidMethods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.chains.Chain
addNewStage, addStage, addStage, getAllJobs, getAllStages, getMaster, getStages, removeStage, removeStagesIf, setNotificationSet, setStorageTagMethods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.Describable
setDescription, setNameMethods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescriptionMethods inherited from interface com.atlassian.bamboo.core.EntityWithOid
setOidMethods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableChain
containsStage, getCreationDate, getEntityType, getJobCount, getLastResultKey, getNotificationSet, getPlanRepositoryDefinitions, getStorageTag, getVcsBambooSpecsSourceMethods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOidMethods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.plan.Plan
getBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setKey, setLabellings, setPlanKey, setProject, setSuspendedFromBuildingMethods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, isSuspendedFromBuildingMethods inherited from interface com.atlassian.bamboo.trigger.Triggerable
getTriggerDefinitions, isSuspendedMethods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersion
-
Constructor Details
-
DefaultChain
public DefaultChain()
-
-
Method Details
-
getPlanType
- Specified by:
getPlanTypein interfacePlanIdentifier- Returns:
- the type of this plan
-
setMaster
Description copied from interface:PlanSet which plan is the master of this plan. The master is the plan which this one is derived from. Configuration will be pulled from the master if one exists and if it is not a divergent branch
-