com.atlassian.bamboo.plan.cache
Interface ImmutableBuildable

All Superinterfaces:
BambooIdProvider, DescriptionProvider, ImmutablePlan, NameProvider, PlanIdentifier
All Known Subinterfaces:
Buildable, ImmutableJob, Job
All Known Implementing Classes:
DefaultJob, ImmutableJobImpl

public interface ImmutableBuildable
extends ImmutablePlan


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
 RequirementSet getEffectiveRequirementSet()
          Return effective value of RequirementSet, that is value that is considered when checking which agents and elastic images can build this Buildable.
 RequirementSet getRequirementSet()
           
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
getAverageBuildDuration, getBuildDefinition, getBuildDefinitionXml, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getMaster, 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

getRequirementSet

@NotNull
RequirementSet getRequirementSet()

getEffectiveRequirementSet

@NotNull
RequirementSet getEffectiveRequirementSet()
Return effective value of RequirementSet, that is value that is considered when checking which agents and elastic images can build this Buildable.

Returns:
the same as getRequirementSet() if ImmutablePlan.hasMaster() is false, getMaster().getRequirementSet() otherwise.


Copyright © 2012 Atlassian. All Rights Reserved.