com.atlassian.bamboo.build
Interface Job
- All Superinterfaces:
- BambooIdProvider, BambooObject, Buildable, Deletable, Describable, DescriptionProvider, ImmutableBuildable, ImmutableDeletable, ImmutableJob, ImmutablePlan, NameProvider, Plan, PlanIdentifier, PlanKeyProvider
- All Known Implementing Classes:
- DefaultJob
@PublicApi
public interface Job
- extends Buildable, ImmutableJob
Methods inherited from interface com.atlassian.bamboo.plan.Plan |
getBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setFirstBuildNumber, setKey, setLabellings, setLastBuildNumber, setMaster, setNextBuildNumber, setPlanKey, setProject, setSuspendedFromBuilding |
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan |
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, 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.
getArtifactDefinitions
@NotNull
List<ArtifactDefinition> getArtifactDefinitions()
- Specified by:
getArtifactDefinitions
in interface ImmutableJob
- Returns:
- list of produced artifacts
getArtifactSubscriptions
@NotNull
List<ArtifactSubscription> getArtifactSubscriptions()
- Specified by:
getArtifactSubscriptions
in interface ImmutableJob
- Returns:
- list of artifact subscriptions
setStage
void setStage(@NotNull
ChainStage stage)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.