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 |
Optional<Long> |
getDatabaseId() |
String |
getDescription()
Get the Stage Description
|
long |
getId()
Returns database id of the stage.
|
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()
ImmutableChainStage
ImmutableChainStage.getDatabaseId()
should be preferred.getId
in interface ImmutableChainStage
getId
in interface BambooIdProvider
@NotNull public Optional<Long> getDatabaseId()
getDatabaseId
in interface ImmutableChainStage
public BambooEntityOid getOid()
ImmutableEntityWithOid
BambooEntityOid.getEntityType()
should be the same as this object's
ImmutableEntityWithOid.getEntityType()
.getOid
in interface ImmutableEntityWithOid
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.