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, ImmutableJobImpl

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
 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
getLabellings, 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
getArtifactDefinitions, getArtifactSubscriptions, getEffectiveRequirementSet, getRequirementSet
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
getAverageBuildDuration, getBuildDefinition, getBuildDefinitionXml, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, 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.

setStage

void setStage(@NotNull
              ChainStage stage)


Copyright © 2012 Atlassian. All Rights Reserved.