com.atlassian.bamboo.build
Interface Job

All Superinterfaces:
BambooIdProvider, BambooObject, Buildable, Deletable, Describable, DescriptionProvider, ImmutableBuildable, ImmutableDeletable, ImmutableJob, ImmutablePlan, NameProvider, Plan, PlanIdentifier
All Known Implementing Classes:
DefaultJob

public interface Job
extends Buildable, ImmutableJob


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS
 
Method Summary
 java.util.List<ArtifactDefinition> getArtifactDefinitions()
           
 java.util.List<ArtifactSubscription> getArtifactSubscriptions()
           
 Job getMaster()
          Return the master plan if one exists.
 Chain getParent()
          The Chain that this Job is a member of
 ChainStage getStage()
          The ChainStage that this Job is a member of
 void setStage(ChainStage stage)
           
 
Methods inherited from interface com.atlassian.bamboo.build.Buildable
setRequirementSet
 
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, validateBuild
 
Methods inherited from interface com.atlassian.bamboo.Describable
setDescription, setName
 
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableJob
getEffectiveRequirementSet, getRequirementSet
 
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
 
Methods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
getBuildKey, getBuildName, getId, getMasterId, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
 
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
 

Method Detail

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
java.util.List<ArtifactDefinition> getArtifactDefinitions()
Specified by:
getArtifactDefinitions in interface ImmutableJob
Returns:
list of produced artifacts

getArtifactSubscriptions

@NotNull
java.util.List<ArtifactSubscription> getArtifactSubscriptions()
Specified by:
getArtifactSubscriptions in interface ImmutableJob
Returns:
list of artifact subscriptions

setStage

void setStage(@NotNull
              ChainStage stage)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.