|
||||||||||
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.ChainStageResultImpl
public class ChainStageResultImpl
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
id |
Constructor Summary | |
---|---|
ChainStageResultImpl()
|
|
ChainStageResultImpl(java.lang.String name,
java.lang.String description,
ChainResultsSummary chainResult)
|
Method Summary | |
---|---|
boolean |
addBuildResult(BuildResultsSummary buildResult)
Adds a BuildResultsSummary and sets the relationship to the ChainResultsSummary |
java.util.Set<BuildResultsSummary> |
getBuildResults()
Returns all the BuildResultsSummary with this Stage result |
ChainResultsSummary |
getChainResult()
Returns the ChainResultsSummary associated with this Stage result |
java.lang.String |
getDescription()
|
java.util.Collection<BuildResultsSummary> |
getFailedBuildResults()
Returns all the failed BuildResultsSummary with this Stage result |
LifeCycleState |
getLifeCycleState()
|
int |
getListPosition()
Return position of the Stage Result in the Stage Results list of Chain Result |
java.lang.String |
getName()
|
java.util.List<BuildResultsSummary> |
getSortedBuildResults()
Returns all the BuildResultsSummary with this Stage result
ordered by build name. |
BuildState |
getState()
|
java.util.Collection<BuildResultsSummary> |
getSuccessfulBuildResults()
Returns all the successful BuildResultsSummary with this Stage result |
boolean |
isCompleted()
|
boolean |
isFailed()
|
boolean |
isFinished()
|
boolean |
isPending()
|
boolean |
isSuccessful()
|
boolean |
removeBuildResult(BuildResultsSummary buildResult)
Removes a BuildResultsSummary |
void |
setBuildResults(java.util.Set<BuildResultsSummary> buildResults)
|
void |
setChainResult(ChainResultsSummary chainResult)
Sets the ChainResultsSummary associated with this Stage result |
void |
setDescription(java.lang.String description)
|
void |
setListPosition(int index)
|
void |
setName(java.lang.String name)
|
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
getId, setId |
Methods inherited from class com.atlassian.core.bean.EntityObject |
---|
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, 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 ChainStageResultImpl(java.lang.String name, java.lang.String description, ChainResultsSummary chainResult)
public ChainStageResultImpl()
Method Detail |
---|
@NotNull public java.lang.String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
public void setName(@NotNull java.lang.String name)
setName
in interface Describable
@Nullable public java.lang.String getDescription()
getDescription
in interface DescriptionProvider
public void setDescription(@Nullable java.lang.String description)
setDescription
in interface Describable
@NotNull public ChainResultsSummary getChainResult()
ChainStageResult
ChainResultsSummary
associated with this Stage result
getChainResult
in interface ChainStageResult
public void setChainResult(@NotNull ChainResultsSummary chainResult)
ChainStageResult
ChainResultsSummary
associated with this Stage result
setChainResult
in interface ChainStageResult
@NotNull public java.util.Set<BuildResultsSummary> getBuildResults()
ChainStageResult
BuildResultsSummary
with this Stage result
getBuildResults
in interface ChainStageResult
@NotNull public java.util.List<BuildResultsSummary> getSortedBuildResults()
ChainStageResult
BuildResultsSummary
with this Stage result
ordered by build name.
WARNING: Dont use in performance critical situations.
getSortedBuildResults
in interface ChainStageResult
@NotNull public java.util.Collection<BuildResultsSummary> getFailedBuildResults()
ChainStageResult
BuildResultsSummary
with this Stage result
getFailedBuildResults
in interface ChainStageResult
@NotNull public java.util.Collection<BuildResultsSummary> getSuccessfulBuildResults()
ChainStageResult
BuildResultsSummary
with this Stage result
getSuccessfulBuildResults
in interface ChainStageResult
public void setBuildResults(@NotNull java.util.Set<BuildResultsSummary> buildResults)
public boolean addBuildResult(@NotNull BuildResultsSummary buildResult)
ChainStageResult
BuildResultsSummary
and sets the relationship to the ChainResultsSummary
addBuildResult
in interface ChainStageResult
public boolean removeBuildResult(@NotNull BuildResultsSummary buildResult)
ChainStageResult
BuildResultsSummary
removeBuildResult
in interface ChainStageResult
public boolean isPending()
isPending
in interface ChainStageResult
public boolean isCompleted()
isCompleted
in interface ChainStageResult
public boolean isFinished()
isFinished
in interface ChainStageResult
public boolean isSuccessful()
isSuccessful
in interface ChainStageResult
public boolean isFailed()
isFailed
in interface ChainStageResult
public BuildState getState()
getState
in interface ChainStageResult
public LifeCycleState getLifeCycleState()
getLifeCycleState
in interface ChainStageResult
public int getListPosition()
public void setListPosition(int index)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |