com.atlassian.bamboo.build
Interface Job
- All Superinterfaces:
- BambooIdProvider, BambooObject, Buildable, Deletable, Describable, DescriptionProvider, ImmutableBuildable, ImmutableDeletable, ImmutableJob, ImmutablePlan, NameProvider, Plan, PlanIdentifier
- All Known Implementing Classes:
- DefaultJob, ImmutableJobImpl
public interface Job
- extends Buildable, ImmutableJob
Methods inherited from interface com.atlassian.bamboo.plan.Plan |
getLabellings, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setFirstBuildNumber, setKey, setLabellings, setLastBuildNumber, setMaster, 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, isActive, isBusy, isExecuting, isMarkedForDeletion |
getParent
@NotNull
Chain getParent()
- The
Chain
that this Job
is a member of
- Specified by:
getParent
in interface ImmutableJob
- Returns:
- chain
getStage
@NotNull
ChainStage getStage()
- The
ChainStage
that this Job
is a member of
- Specified by:
getStage
in interface ImmutableJob
- Returns:
- stage
getMaster
@Nullable
Job 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 ImmutableJob
- Specified by:
getMaster
in interface ImmutablePlan
- Returns:
- the master
Plan
if one exists.
setStage
void setStage(@NotNull
ChainStage stage)
Copyright © 2012 Atlassian. All Rights Reserved.