public interface ImmutableChainStage extends DescriptionProvider, ImmutableDeletable, BambooIdProvider, ImmutableEntityWithOid
ChainStage. Prefer using this interface unless modifying the stage.| 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
|
default BambooEntityType |
getEntityType()
Entity type of this object, used in
BambooEntityOid. |
long |
getId()
Returns database id of the stage.
|
Set<? extends ImmutableJob> |
getJobs()
Gets the
ImmutableJobs associated with this Stage. |
ImmutableChainStage |
getMaster() |
String |
getName()
Get the Stage Name
|
boolean |
hasMaster() |
boolean |
isFinal() |
boolean |
isManual() |
isMarkedForDeletiongetOidlong getId()
getDatabaseId() should be preferred.getId in interface BambooIdProviderIllegalStateException - if this stage is not a DB object.@NotNull Optional<Long> getDatabaseId()
@NotNull String getName()
getName in interface DescriptionProvidergetName in interface NameProvider@Nullable String getDescription()
getDescription in interface DescriptionProviderboolean isManual()
boolean isFinal()
@NotNull ImmutableChain getChain()
Chain that the stage belongs to@NotNull Set<? extends ImmutableJob> getJobs()
ImmutableJobs associated with this Stage. Only deletion code will see
deleted jobs.@Nullable ImmutableChainStage getMaster()
boolean hasMaster()
default BambooEntityType getEntityType()
ImmutableEntityWithOidBambooEntityOid.getEntityType in interface ImmutableEntityWithOidCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.