|
||||||||||
| 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.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 DescriptionProvidergetName 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()
ChainStageResultChainResultsSummary associated with this Stage result
getChainResult in interface ChainStageResult
public void setChainResult(@NotNull
ChainResultsSummary chainResult)
ChainStageResultChainResultsSummary associated with this Stage result
setChainResult in interface ChainStageResult@NotNull public java.util.Set<BuildResultsSummary> getBuildResults()
ChainStageResultBuildResultsSummary with this Stage result
getBuildResults in interface ChainStageResult@NotNull public java.util.List<BuildResultsSummary> getSortedBuildResults()
ChainStageResultBuildResultsSummary 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()
ChainStageResultBuildResultsSummary with this Stage result
getFailedBuildResults in interface ChainStageResult@NotNull public java.util.Collection<BuildResultsSummary> getSuccessfulBuildResults()
ChainStageResultBuildResultsSummary with this Stage result
getSuccessfulBuildResults in interface ChainStageResult
public void setBuildResults(@NotNull
java.util.Set<BuildResultsSummary> buildResults)
public boolean addBuildResult(@NotNull
BuildResultsSummary buildResult)
ChainStageResultBuildResultsSummary and sets the relationship to the ChainResultsSummary
addBuildResult in interface ChainStageResult
public boolean removeBuildResult(@NotNull
BuildResultsSummary buildResult)
ChainStageResultBuildResultsSummary
removeBuildResult in interface ChainStageResultpublic boolean isPending()
isPending in interface ChainStageResultpublic boolean isCompleted()
isCompleted in interface ChainStageResultpublic boolean isFinished()
isFinished in interface ChainStageResultpublic boolean isSuccessful()
isSuccessful in interface ChainStageResultpublic boolean isFailed()
isFailed in interface ChainStageResultpublic BuildState getState()
getState in interface ChainStageResultpublic LifeCycleState getLifeCycleState()
getLifeCycleState in interface ChainStageResultpublic int getListPosition()
public void setListPosition(int index)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||