public class ImmutableChainStageImpl extends Object implements ImmutableChainStage
Constructor and Description |
---|
ImmutableChainStageImpl(ImmutableChain chain,
ChainStage mutableStage,
ImmutablePlanManager immutablePlanManager,
ImmutablePlanCacheService immutablePlanCacheService) |
Modifier and Type | Method and Description |
---|---|
ImmutableChain |
getChain()
Gets the
Chain that the stage belongs to |
String |
getDescription()
Get the Stage Description
|
long |
getId() |
Set<ImmutableJob> |
getJobs()
Gets the
ImmutableJob s associated with this Stage. |
ImmutableChainStage |
getMaster() |
String |
getName()
Get the Stage Name
|
BambooEntityOid |
getOid()
OID assigned to this object.
|
boolean |
hasMaster() |
boolean |
isFinal() |
boolean |
isManual() |
boolean |
isMarkedForDeletion() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntityType
public ImmutableChainStageImpl(@NotNull ImmutableChain chain, @NotNull ChainStage mutableStage, @NotNull ImmutablePlanManager immutablePlanManager, @NotNull ImmutablePlanCacheService immutablePlanCacheService)
@NotNull public String getName()
ImmutableChainStage
getName
in interface ImmutableChainStage
getName
in interface DescriptionProvider
getName
in interface NameProvider
public String getDescription()
ImmutableChainStage
getDescription
in interface ImmutableChainStage
getDescription
in interface DescriptionProvider
public boolean isManual()
isManual
in interface ImmutableChainStage
public boolean isFinal()
isFinal
in interface ImmutableChainStage
@NotNull public ImmutableChain getChain()
ImmutableChainStage
Chain
that the stage belongs togetChain
in interface ImmutableChainStage
@NotNull public Set<ImmutableJob> getJobs()
ImmutableChainStage
ImmutableJob
s associated with this Stage. Only deletion code will see
deleted jobs.getJobs
in interface ImmutableChainStage
public ImmutableChainStage getMaster()
getMaster
in interface ImmutableChainStage
public boolean hasMaster()
hasMaster
in interface ImmutableChainStage
public boolean isMarkedForDeletion()
isMarkedForDeletion
in interface ImmutableDeletable
public long getId()
getId
in interface BambooIdProvider
public BambooEntityOid getOid()
ImmutableEntityWithOid
BambooEntityOid.getEntityType()
should be the same as this object's
ImmutableEntityWithOid.getEntityType()
.getOid
in interface ImmutableEntityWithOid
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.