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
@PublicApi public interface Job extends Buildable, ImmutableJob, VersionedEntityComponent<Chain>
-
-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull List<ArtifactDefinition>getArtifactDefinitions()@NotNull List<ArtifactSubscription>getArtifactSubscriptions()@Nullable JobgetMaster()Return the master plan if one exists.@NotNull ChaingetParent()@NotNull ChainStagegetStage()TheChainStagethat thisJobis a member ofvoidsetStage(@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 Detail
-
getParent
@NotNull @NotNull Chain getParent()
- Specified by:
getParentin interfaceImmutableJob- Returns:
- chain
-
getStage
@NotNull @NotNull ChainStage getStage()
TheChainStagethat thisJobis a member of- Specified by:
getStagein interfaceImmutableJob- Returns:
- stage
-
getMaster
@Nullable @Nullable Job getMaster()
Description copied from interface:ImmutablePlanReturn 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:
getMasterin interfaceImmutableJob- Specified by:
getMasterin interfaceImmutablePlan- Returns:
- the master
Planif one exists.
-
getArtifactDefinitions
@NotNull @NotNull List<ArtifactDefinition> getArtifactDefinitions()
- Specified by:
getArtifactDefinitionsin interfaceImmutableJob- Returns:
- list of produced artifacts
-
getArtifactSubscriptions
@NotNull @NotNull List<ArtifactSubscription> getArtifactSubscriptions()
- Specified by:
getArtifactSubscriptionsin interfaceImmutableJob- Returns:
- list of artifact subscriptions
-
setStage
void setStage(@Nullable @Nullable ChainStage stage)
-
-