|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 Job s associated with this Stage, including the ones 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 Job s associated with this Stage, exlcuding the ones 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 ChainStage
getName
in interface DescriptionProvider
getName
in interface NameProvider
public void setName(@NotNull java.lang.String name)
ChainStage
setName
in interface ChainStage
setName
in interface Describable
@Nullable public java.lang.String getDescription()
ChainStage
getDescription
in interface ChainStage
getDescription
in interface DescriptionProvider
public void setDescription(@NotNull java.lang.String description)
ChainStage
setDescription
in interface ChainStage
setDescription
in interface Describable
public boolean isMarkedForDeletion()
isMarkedForDeletion
in interface Deletable
public void setMarkedForDeletion(boolean markedForDeletion)
setMarkedForDeletion
in interface Deletable
@NotNull public Chain getChain()
ChainStage
Chain
that the stage belongs to
getChain
in interface ChainStage
public void setChain(@NotNull Chain chain)
ChainStage
Chain
that the stage belongs to
setChain
in interface ChainStage
@NotNull public java.util.Set<Job> getJobs()
ChainStage
Job
s associated with this Stage, exlcuding the ones marked for deletion
getJobs
in interface ChainStage
@NotNull public java.util.Set<Job> getAllJobs()
ChainStage
Job
s associated with this Stage, including the ones marked for deletion
getAllJobs
in interface ChainStage
public void setAllJobs(java.util.Set<Job> jobs)
public boolean addJob(@NotNull Job job)
ChainStage
Job
to the ChainStage
addJob
in interface ChainStage
public boolean removeJob(@NotNull Job job)
ChainStage
Job
from the ChainStage
removeJob
in interface ChainStage
public int getIndex()
public void setIndex(int index)
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public 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 |