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
ImmutableJob s associated with this Stage. |
ImmutableChainStage |
getMaster() |
String |
getName()
Get the Stage Name
|
boolean |
hasMaster() |
boolean |
isFinal() |
boolean |
isManual() |
isMarkedForDeletion
getOid
long getId()
getDatabaseId()
should be preferred.getId
in interface BambooIdProvider
IllegalStateException
- if this stage is not a DB object.@NotNull Optional<Long> getDatabaseId()
@NotNull String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
@Nullable String getDescription()
getDescription
in interface DescriptionProvider
boolean isManual()
boolean isFinal()
@NotNull ImmutableChain getChain()
Chain
that the stage belongs to@NotNull Set<? extends ImmutableJob> getJobs()
ImmutableJob
s associated with this Stage. Only deletion code will see
deleted jobs.@Nullable ImmutableChainStage getMaster()
boolean hasMaster()
default BambooEntityType getEntityType()
ImmutableEntityWithOid
BambooEntityOid
.getEntityType
in interface ImmutableEntityWithOid
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.