Package com.atlassian.bamboo.plan.cache
Interface ImmutableBuildable
-
- All Superinterfaces:
BambooIdProvider
,DescriptionProvider
,ImmutableDeletable
,ImmutableEntityWithOid
,ImmutablePlan
,NameProvider
,PlanIdentifier
,PlanKeyProvider
,Versionable
- 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_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 RequirementSet
getEffectiveRequirementSet()
Return effective value ofRequirementSet
, that is value that is considered when checking which agents, elastic images and ephemeral templates can build this Buildable.@NotNull RequirementSet
getRequirementSet()
-
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
-
Methods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getEntityType, getOid
-
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getMaster, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion
-
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.versioning.Versionable
getVersion
-
-
-
-
Method Detail
-
getRequirementSet
@NotNull @NotNull RequirementSet getRequirementSet()
-
getEffectiveRequirementSet
@NotNull @NotNull RequirementSet getEffectiveRequirementSet()
Return effective value ofRequirementSet
, that is value that is considered when checking which agents, elastic images and ephemeral templates can build this Buildable.- Returns:
- the same as
getRequirementSet()
ifImmutablePlan.hasMaster()
is false, getMaster().getRequirementSet() otherwise.
-
-