|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChainResult
Represents an execution result of a Chain
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 number)
Set the Chain result number |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
getId, setId |
Method Detail |
---|
@NotNull PlanResultKey getPlanResultKey()
PlanResultKey
for this ChainResult
boolean isSuccessful()
boolean isFailed()
boolean isPending()
BuildState getBuildState()
BuildState
of the Chain
void setBuildState(BuildState buildState)
BuildState
of the Chain
buildState
- int getChainBuildNumber()
void setChainBuildNumber(int number)
number
- @NotNull Chain getChain()
java.lang.String getResultKey()
void setChain(@NotNull Chain chain)
chain
- @NotNull java.util.List<ChainStageResult> getStageResults()
ChainStageResult
's associated with this ChainResult
@NotNull ChainStageResult create(java.lang.String name, java.lang.String description)
ChainStageResult
and associates it with the ChainResult
name
- name of the Stage related to resultdescription
- decription of the Stage releated to result
boolean addStageResult(@NotNull ChainStageResult chainStageResult)
chainStageResult
-
boolean removeStageResult(@NotNull ChainStageResult chainStageResult)
chainStageResult
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |