|
||||||||||
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.ChainResultImpl
public class ChainResultImpl
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
id |
Constructor Summary | |
---|---|
ChainResultImpl()
|
|
ChainResultImpl(Chain chain,
int chainBuildNumber)
|
Method Summary | |
---|---|
boolean |
addStageResult(ChainStageResult chainStageResult)
Add a stage result |
ChainStageResult |
create(java.lang.String name,
java.lang.String description)
Create a new ChainStageResult and associates it with the ChainResult |
BuildState |
getBuildState()
Gets the BuildState of the Chain |
Chain |
getChain()
Get Chain |
int |
getChainBuildNumber()
Get Chain result number |
PlanResultKey |
getPlanResultKey()
Gets the PlanResultKey for this ChainResult |
java.lang.String |
getResultKey()
Get the Chain result key (eg BUILD-CHAIN-123) |
java.util.List<ChainStageResult> |
getStageResults()
Get all the ChainStageResult 's associated with this ChainResult |
boolean |
isFailed()
Is the chain execution a failure? |
boolean |
isPending()
Is the chain execution still pending? |
boolean |
isSuccessful()
Is the chain execution successful? |
boolean |
removeStageResult(ChainStageResult chainStageResult)
Remove a stage result |
void |
setBuildState(BuildState buildState)
Sets the BuildState of the Chain |
void |
setChain(Chain chain)
Set Chain |
void |
setChainBuildNumber(int chainBuildNumber)
Set the Chain result number |
void |
setStageResults(java.util.List<ChainStageResult> stageResults)
|
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 ChainResultImpl(Chain chain, int chainBuildNumber)
public ChainResultImpl()
Method Detail |
---|
@NotNull public PlanResultKey getPlanResultKey()
ChainResult
PlanResultKey
for this ChainResult
getPlanResultKey
in interface ChainResult
public boolean isSuccessful()
ChainResult
isSuccessful
in interface ChainResult
public boolean isFailed()
ChainResult
isFailed
in interface ChainResult
public boolean isPending()
ChainResult
isPending
in interface ChainResult
public BuildState getBuildState()
ChainResult
BuildState
of the Chain
getBuildState
in interface ChainResult
public void setBuildState(BuildState buildState)
ChainResult
BuildState
of the Chain
setBuildState
in interface ChainResult
public int getChainBuildNumber()
ChainResult
getChainBuildNumber
in interface ChainResult
public void setChainBuildNumber(int chainBuildNumber)
ChainResult
setChainBuildNumber
in interface ChainResult
public java.lang.String getResultKey()
ChainResult
getResultKey
in interface ChainResult
@NotNull public Chain getChain()
ChainResult
getChain
in interface ChainResult
public void setChain(@NotNull Chain chain)
ChainResult
setChain
in interface ChainResult
@NotNull public ChainStageResult create(java.lang.String name, java.lang.String description)
ChainResult
ChainStageResult
and associates it with the ChainResult
create
in interface ChainResult
name
- name of the Stage related to resultdescription
- decription of the Stage releated to result
@NotNull public java.util.List<ChainStageResult> getStageResults()
ChainResult
ChainStageResult
's associated with this ChainResult
getStageResults
in interface ChainResult
public void setStageResults(@NotNull java.util.List<ChainStageResult> stageResults)
public boolean addStageResult(@NotNull ChainStageResult chainStageResult)
ChainResult
addStageResult
in interface ChainResult
public boolean removeStageResult(@NotNull ChainStageResult chainStageResult)
ChainResult
removeStageResult
in interface ChainResult
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |