public class ImmutableChainStageImpl extends Object implements ImmutableChainStage
Constructor and Description |
---|
ImmutableChainStageImpl(ImmutableChain chain,
ChainStage chainStage,
ImmutablePlanManager immutablePlanManager) |
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, excluding the ones marked for deletion |
ChainStage |
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 chainStage, @NotNull ImmutablePlanManager immutablePlanManager)
@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, excluding the ones marked for deletiongetJobs
in interface ImmutableChainStage
public ChainStage 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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.