public interface ImmutableJob extends ImmutableBuildable, TaskContainer
Job
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS
getPlanKeyFunction, NAME_DELIMITER
getPlanKey
Modifier and Type | Method and Description |
---|---|
List<? extends ImmutableArtifactDefinition> |
getArtifactDefinitions() |
List<? extends ImmutableArtifactSubscription> |
getArtifactSubscriptions() |
RequirementSet |
getEffectiveRequirementSet()
Return effective value of
RequirementSet , that is value that is considered when checking which agents and
elastic images can build this Buildable. |
default BambooEntityType |
getEntityType()
Entity type of this object, used in
BambooEntityOid . |
ImmutableJob |
getMaster()
Return the master plan if one exists.
|
ImmutableChain |
getParent() |
RequirementSet |
getRequirementSet() |
ImmutableChainStage |
getStage()
The
ChainStage that this Job is a member of |
boolean |
isDivergent()
Is part of divergent branch.
|
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
getDescription
getOid
getTaskDefinitions
@NotNull ImmutableChain getParent()
@NotNull ImmutableChainStage getStage()
ChainStage
that this Job
is a member ofImmutableJob getMaster()
ImmutablePlan
getMaster
in interface ImmutablePlan
Plan
if one exists.@NotNull List<? extends ImmutableArtifactDefinition> getArtifactDefinitions()
@NotNull List<? extends ImmutableArtifactSubscription> getArtifactSubscriptions()
@NotNull RequirementSet getRequirementSet()
getRequirementSet
in interface ImmutableBuildable
@NotNull RequirementSet getEffectiveRequirementSet()
RequirementSet
, that is value that is considered when checking which agents and
elastic images can build this Buildable.getEffectiveRequirementSet
in interface ImmutableBuildable
getRequirementSet()
if ImmutablePlan.hasMaster()
is false,
getMaster().getRequirementSet() otherwise.default BambooEntityType getEntityType()
ImmutableEntityWithOid
BambooEntityOid
.getEntityType
in interface ImmutableEntityWithOid
boolean isDivergent()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.