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_SUCCESSFields inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
NAME_DELIMITERFields inherited from interface com.atlassian.bamboo.plan.PlanKeyProvider
getPlanKey -
Method Summary
Modifier and TypeMethodDescription@NotNull List<ArtifactDefinition>@NotNull List<ArtifactSubscription>@Nullable JobReturn the master plan if one exists.@NotNull Chain@NotNull ChainStagegetStage()TheChainStagethat thisJobis a member ofvoidsetStage(@Nullable ChainStage stage) Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.build.Buildable
setRequirementSetMethods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.Describable
setDescription, setNameMethods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescriptionMethods inherited from interface com.atlassian.bamboo.core.EntityWithOid
setOidMethods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getOidMethods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableJob
getEffectiveRequirementSet, getEntityType, getRequirementSet, isDivergentMethods 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, isMarkedForDeletionMethods inherited from interface com.atlassian.bamboo.plan.Plan
getBuildDefinitionXml, getLabellings, getLatestResultsSummary, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setKey, setLabellings, setMaster, setPlanKey, setProject, setSuspendedFromBuildingMethods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuildingMethods inherited from interface com.atlassian.bamboo.task.TaskContainer
getTaskDefinitionsMethods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersionMethods inherited from interface com.atlassian.bamboo.versioning.VersionedEntityComponent
getRoot
-
Method Details
-
getParent
- Specified by:
getParentin interfaceImmutableJob- Returns:
- chain
-
getStage
TheChainStagethat thisJobis a member of- Specified by:
getStagein interfaceImmutableJob- Returns:
- stage
-
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
- Specified by:
getArtifactDefinitionsin interfaceImmutableJob- Returns:
- list of produced artifacts
-
getArtifactSubscriptions
- Specified by:
getArtifactSubscriptionsin interfaceImmutableJob- Returns:
- list of artifact subscriptions
-
setStage
-