Package com.atlassian.bamboo.build
Interface Job
- All Superinterfaces:
BambooIdProvider
,BambooObject
,BambooObjectWithOid
,Buildable
,Deletable
,Describable
,DescriptionProvider
,EntityWithOid
,ImmutableBuildable
,ImmutableDeletable
,ImmutableEntityWithOid
,ImmutableJob
,ImmutablePlan
,NameProvider
,Plan
,PlanIdentifier
,PlanKeyProvider
,TaskContainer
,Versionable
,VersionedEntityComponent<Chain>
- All Known Implementing Classes:
DefaultJob
-
Field Summary
Fields 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_SUCCESS
Fields inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
NAME_DELIMITER
Fields inherited from interface com.atlassian.bamboo.plan.PlanKeyProvider
getPlanKey
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<ArtifactDefinition>
@NotNull List<ArtifactSubscription>
@Nullable Job
Return the master plan if one exists.@NotNull Chain
@NotNull ChainStage
getStage()
TheChainStage
that thisJob
is a member ofvoid
setStage
(@Nullable ChainStage stage) Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods inherited from interface com.atlassian.bamboo.build.Buildable
setRequirementSet
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
Methods inherited from interface com.atlassian.bamboo.Describable
setDescription, setName
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
Methods inherited from interface com.atlassian.bamboo.core.EntityWithOid
setOid
Methods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOid
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableJob
getEffectiveRequirementSet, getEntityType, getRequirementSet, isDivergent
Methods 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, isMarkedForDeletion
Methods inherited from interface com.atlassian.bamboo.plan.Plan
getBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setKey, setLabellings, setMaster, setPlanKey, setProject, setSuspendedFromBuilding
Methods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
Methods inherited from interface com.atlassian.bamboo.task.TaskContainer
getTaskDefinitions
Methods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersion
Methods inherited from interface com.atlassian.bamboo.versioning.VersionedEntityComponent
getRoot
-
Method Details
-
getParent
- Specified by:
getParent
in interfaceImmutableJob
- Returns:
- chain
-
getStage
TheChainStage
that thisJob
is a member of- Specified by:
getStage
in interfaceImmutableJob
- Returns:
- stage
-
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 interfaceImmutableJob
- Specified by:
getMaster
in interfaceImmutablePlan
- Returns:
- the master
Plan
if one exists.
-
getArtifactDefinitions
- Specified by:
getArtifactDefinitions
in interfaceImmutableJob
- Returns:
- list of produced artifacts
-
getArtifactSubscriptions
- Specified by:
getArtifactSubscriptions
in interfaceImmutableJob
- Returns:
- list of artifact subscriptions
-
setStage
-