@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
Jobs 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
Jobs 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
|
getDescription, getEntityType, getMaster, getName, hasMaster, isFinal, isManualsetMarkedForDeletionsetIdgetIdisMarkedForDeletionsetOidgetOidvoid setName(@NotNull
String name)
setName in interface Describablename - void setDescription(String description)
setDescription in interface Describabledescription - void setManual(boolean manual)
void setFinal(boolean finalStage)
@NotNull Chain getChain()
Chain that the stage belongs togetChain in interface ImmutableChainStagevoid setChain(@NotNull
Chain chain)
Chain that the stage belongs tochain - @NotNull Set<Job> getJobs()
Jobs associated with this Stage, exlcuding the ones marked for deletiongetJobs in interface ImmutableChainStage@NotNull Collection<Job> getAllJobs()
Jobs associated with this Stage, including the ones marked for deletionboolean addJob(@NotNull
Job job)
Job to the ChainStagejob - boolean removeJob(@NotNull
Job job)
Job from the ChainStagejob - Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.