|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.chains.cache.ImmutableChainStageImpl
public class ImmutableChainStageImpl
Constructor Summary | |
---|---|
ImmutableChainStageImpl(Chain chain,
ChainStage chainStage,
ImmutablePlanManager immutablePlanManager)
|
Method Summary | |
---|---|
boolean |
addJob(Job job)
Adds a Job to the ChainStage |
protected void |
exceptionOnModification()
|
java.util.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 |
java.lang.String |
getDescription()
Get the Stage Description |
long |
getId()
|
java.util.Set<Job> |
getJobs()
Gets the Job s associated with this Stage, exlcuding the ones marked for deletion |
ChainStage |
getMaster()
|
java.lang.String |
getName()
Get the Stage Name |
boolean |
hasMaster()
|
boolean |
isManual()
|
boolean |
isMarkedForDeletion()
|
boolean |
removeJob(Job job)
Removes the Job from the ChainStage |
void |
setChain(Chain chain)
Sets the Chain that the stage belongs to |
void |
setDescription(java.lang.String description)
Set the Stage Description |
void |
setId(long id)
|
void |
setManual(boolean manual)
|
void |
setMarkedForDeletion(boolean markedForDeletion)
|
void |
setName(java.lang.String name)
Set the Stage Name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImmutableChainStageImpl(@NotNull Chain chain, @NotNull ChainStage chainStage, @NotNull ImmutablePlanManager immutablePlanManager)
Method Detail |
---|
@NotNull public java.lang.String getName()
ImmutableChainStage
getName
in interface ImmutableChainStage
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
public java.lang.String getDescription()
ImmutableChainStage
getDescription
in interface ImmutableChainStage
getDescription
in interface DescriptionProvider
public void setDescription(@NotNull java.lang.String description)
ChainStage
setDescription
in interface ChainStage
setDescription
in interface Describable
public boolean isManual()
isManual
in interface ImmutableChainStage
public void setManual(boolean manual)
setManual
in interface ChainStage
@NotNull public Chain getChain()
ChainStage
Chain
that the stage belongs to
getChain
in interface ImmutableChainStage
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 ImmutableChainStage
getJobs
in interface ChainStage
@NotNull public java.util.Collection<Job> getAllJobs()
ChainStage
Job
s associated with this Stage, including the ones marked for deletion
getAllJobs
in interface ChainStage
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 ChainStage getMaster()
getMaster
in interface ImmutableChainStage
public boolean hasMaster()
hasMaster
in interface ImmutableChainStage
public boolean isMarkedForDeletion()
isMarkedForDeletion
in interface ImmutableDeletable
public void setMarkedForDeletion(boolean markedForDeletion)
setMarkedForDeletion
in interface Deletable
public long getId()
getId
in interface BambooIdProvider
public void setId(long id)
setId
in interface BambooObject
protected void exceptionOnModification()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |