|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.chains.ChainStageImpl
public class ChainStageImpl
| Field Summary |
|---|
| Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
|---|
id |
| Constructor Summary | |
|---|---|
ChainStageImpl()
|
|
ChainStageImpl(Chain chain,
java.lang.String name,
java.lang.String description)
|
|
| Method Summary | |
|---|---|
boolean |
addJob(Job job)
Adds a Job to the ChainStage |
boolean |
equals(java.lang.Object o)
|
java.util.Set<Job> |
getAllJobs()
Gets the Jobs associated with this Stage
Does not exclude plans that are marked for deletion |
Chain |
getChain()
Gets the Chain that the stage belongs to |
java.lang.String |
getDescription()
Get the Stage Description |
int |
getIndex()
|
java.util.Set<Job> |
getJobs()
Gets the Jobs associated with this Stage
Excludes plans that are marked for deletion |
java.lang.String |
getName()
Get the Stage Name |
int |
hashCode()
|
boolean |
isMarkedForDeletion()
|
boolean |
removeJob(Job job)
Removes the Job from the ChainStage |
void |
setAllJobs(java.util.Set<Job> jobs)
|
void |
setChain(Chain chain)
Sets the Chain that the stage belongs to |
void |
setDescription(java.lang.String description)
Set the Stage Description |
void |
setIndex(int index)
|
void |
setMarkedForDeletion(boolean markedForDeletion)
|
void |
setName(java.lang.String name)
Set the Stage Name |
| Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject |
|---|
getId, setId |
| Methods inherited from class com.atlassian.core.bean.EntityObject |
|---|
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
|---|
getId, setId |
| Constructor Detail |
|---|
public ChainStageImpl()
public ChainStageImpl(@NotNull
Chain chain,
@NotNull
java.lang.String name,
java.lang.String description)
| Method Detail |
|---|
@NotNull public java.lang.String getName()
ChainStage
getName in interface ChainStagegetName in interface DescriptionProvidergetName in interface NameProvider
public void setName(@NotNull
java.lang.String name)
ChainStage
setName in interface ChainStagesetName in interface Describable@Nullable public java.lang.String getDescription()
ChainStage
getDescription in interface ChainStagegetDescription in interface DescriptionProvider
public void setDescription(@NotNull
java.lang.String description)
ChainStage
setDescription in interface ChainStagesetDescription in interface Describablepublic boolean isMarkedForDeletion()
isMarkedForDeletion in interface Deletablepublic void setMarkedForDeletion(boolean markedForDeletion)
setMarkedForDeletion in interface Deletable@NotNull public Chain getChain()
ChainStageChain that the stage belongs to
getChain in interface ChainStage
public void setChain(@NotNull
Chain chain)
ChainStageChain that the stage belongs to
setChain in interface ChainStage@NotNull public java.util.Set<Job> getJobs()
ChainStageJobs associated with this Stage
Excludes plans that are marked for deletion
getJobs in interface ChainStage@NotNull public java.util.Set<Job> getAllJobs()
ChainStageJobs associated with this Stage
Does not exclude plans that are marked for deletion
getAllJobs in interface ChainStagepublic void setAllJobs(java.util.Set<Job> jobs)
public boolean addJob(@NotNull
Job job)
ChainStageJob to the ChainStage
addJob in interface ChainStage
public boolean removeJob(@NotNull
Job job)
ChainStageJob from the ChainStage
removeJob in interface ChainStagepublic int getIndex()
public void setIndex(int index)
public int hashCode()
hashCode in class com.atlassian.core.bean.EntityObjectpublic boolean equals(java.lang.Object o)
equals in class com.atlassian.core.bean.EntityObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||