com.atlassian.bamboo.plan.cache
Interface ImmutableJob
- All Superinterfaces:
- BambooIdProvider, DescriptionProvider, ImmutablePlan, NameProvider, PlanIdentifier
- All Known Subinterfaces:
- Job
- All Known Implementing Classes:
- DefaultJob, ImmutableJobImpl
public interface ImmutableJob
- extends ImmutablePlan
Immutable, threadsafe cacheable version of Job
- Since:
- v4.0
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 |
getParent
ImmutableChain getParent()
getStage
@NotNull
ImmutableChainStage getStage()
- The
ChainStage
that this Job
is a member of
- Returns:
- stage
getMaster
ImmutableJob 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 ImmutablePlan
- Returns:
- the master
Plan
if one exists.
getArtifactDefinitions
@NotNull
java.util.List<ArtifactDefinition> getArtifactDefinitions()
- Returns:
- list of produced artifacts
getArtifactSubscriptions
@NotNull
java.util.List<ArtifactSubscription> getArtifactSubscriptions()
- Returns:
- list of artifact subscriptions
getRequirementSet
@NotNull
RequirementSet getRequirementSet()
getEffectiveRequirementSet
@NotNull
RequirementSet getEffectiveRequirementSet()
- Return effective value of
RequirementSet
, that is value that is considered when checking which agents and
elastic images can build this Buildable.
- Returns:
- the same as
getRequirementSet()
if ImmutablePlan.hasMaster()
is false,
getMaster().getRequirementSet() otherwise.
Copyright © 2012 Atlassian. All Rights Reserved.