@PublicApi public interface ChainStage extends ImmutableChainStage, Describable, BambooObject, Deletable, EntityWithOid
Modifier and Type | Method and Description |
---|---|
boolean |
addJob(@NotNull Job job)
Adds a
Job to the ChainStage |
@NotNull Collection<Job> |
getAllJobs()
Gets the
Job s associated with this Stage, including the ones marked for deletion |
@NotNull Chain |
getChain()
Gets the
Chain that the stage belongs to |
@NotNull Set<Job> |
getJobs()
Gets the
Job s associated with this Stage, exlcuding the ones marked for deletion |
boolean |
removeJob(@NotNull Job job)
Removes the
Job from the ChainStage |
void |
setChain(@NotNull Chain chain)
Sets the
Chain that the stage belongs to |
void |
setDescription(String description)
Set the Stage Description
|
void |
setFinal(boolean finalStage) |
void |
setManual(boolean manual) |
void |
setName(@NotNull String name)
Set the Stage Name
|
getDatabaseId, getDescription, getEntityType, getId, getMaster, getName, hasMaster, isFinal, isManual
setMarkedForDeletion
setId
isMarkedForDeletion
setOid
getOid
void setName(@NotNull @NotNull String name)
setName
in interface Describable
name
- void setDescription(String description)
setDescription
in interface Describable
description
- void setManual(boolean manual)
void setFinal(boolean finalStage)
@NotNull @NotNull Chain getChain()
Chain
that the stage belongs togetChain
in interface ImmutableChainStage
void setChain(@NotNull @NotNull Chain chain)
Chain
that the stage belongs tochain
- @NotNull @NotNull Set<Job> getJobs()
Job
s associated with this Stage, exlcuding the ones marked for deletiongetJobs
in interface ImmutableChainStage
@NotNull @NotNull Collection<Job> getAllJobs()
Job
s associated with this Stage, including the ones marked for deletionboolean addJob(@NotNull @NotNull Job job)
Job
to the ChainStage
job
- boolean removeJob(@NotNull @NotNull Job job)
Job
from the ChainStage
job
- Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.