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