com.atlassian.bamboo.plan.branch.cache
Class ImmutableChainBranchImpl
java.lang.Object
com.atlassian.bamboo.plan.cache.AbstractImmutablePlan
com.atlassian.bamboo.plan.cache.AbstractImmutableChain
com.atlassian.bamboo.plan.branch.cache.ImmutableChainBranchImpl
- All Implemented Interfaces:
- Chain, BambooIdProvider, BambooObject, Deletable, Describable, ChainBranch, ChainBranchIdentifier, ImmutableChain, ImmutableChainBranch, ImmutableDeletable, ImmutablePlan, Plan, PlanIdentifier, DescriptionProvider, NameProvider
public class ImmutableChainBranchImpl
- extends AbstractImmutableChain
- implements ChainBranch
Methods inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutableChain |
addNewStage, addStage, containsStage, getAllJobs, getAllStages, getEffectiveRepositoryDefinitions, getJobCount, getLastResultKey, getLatestResultsSummary, getNotificationSet, getStages, isActive, isBusy, isExecuting, removeStage, setNotificationSet |
Methods inherited from class com.atlassian.bamboo.plan.cache.AbstractImmutablePlan |
compareTo, equals, exceptionOnModification, getAverageBuildDuration, getBuildDefinition, getBuildDefinitionXml, getBuildKey, getBuildLogger, getBuildName, getCurrentStatus, getDescription, getEffectiveVariables, getFirstBuildNumber, getId, getKey, getLabellings, getLabelNames, getLastBuildNumber, getName, getNextBuildNumber, getPlanKey, getPlanType, getProject, getRelatedLabellings, getType, getVariables, hashCode, hasMaster, hasTests, isMarkedForDeletion, isSuspendedFromBuilding, setBuildDefinitionXml, setBuildKey, setBuildName, setDescription, setFirstBuildNumber, setId, setKey, setLabellings, setLastBuildNumber, setMarkedForDeletion, setMaster, setName, setNextBuildNumber, setPlanKey, setProject, setSuspendedFromBuilding, validateBuild |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.plan.Plan |
getLabellings, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setFirstBuildNumber, setKey, setLabellings, setLastBuildNumber, setNextBuildNumber, setPlanKey, setProject, setSuspendedFromBuilding, validateBuild |
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan |
getAverageBuildDuration, getBuildDefinition, getBuildDefinitionXml, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getNextBuildNumber, getProject, getType, getVariables, hasMaster, hasTests, isActive, isBusy, isExecuting, isMarkedForDeletion |
ImmutableChainBranchImpl
public ImmutableChainBranchImpl(ChainBranch chainBranch,
BuildLoggerManager buildLoggerManager,
ImmutablePlanManager immutablePlanManager,
LabelManager labelManager,
ResultsSummaryManager resultsSummaryManager,
RepositoryDefinitionManager repositoryDefinitionManager,
VariableDefinitionManager variableDefinitionManager,
BuildDefinitionManager buildDefinitionManager)
getMaster
@NotNull
public Chain getMaster()
- Description copied from interface:
ImmutablePlan
- Return the master plan if one exists. The master is the plan which this one is derived from. Configuration
is pulled from the master if one exists.
- Specified by:
getMaster
in interface Chain
- Specified by:
getMaster
in interface ImmutablePlan
- Overrides:
getMaster
in class AbstractImmutableChain
- Returns:
- the master
Plan
if one exists.
getMasterId
public long getMasterId()
- Description copied from interface:
ChainBranchIdentifier
- Database id of master of this ChainBranch
- Specified by:
getMasterId
in interface ChainBranchIdentifier
- Returns:
setCommitInformation
public void setCommitInformation(@Nullable
BranchCommitInformation commitInformation)
- Specified by:
setCommitInformation
in interface ChainBranch
getCommitInformation
public BranchCommitInformation getCommitInformation()
- Specified by:
getCommitInformation
in interface ImmutableChainBranch
Copyright © 2012 Atlassian. All Rights Reserved.