Package com.atlassian.bamboo.ww2.beans
Class DecoratedResultStatus
java.lang.Object
com.atlassian.bamboo.ww2.beans.DecoratedResultStatus
- All Implemented Interfaces:
DecoratedNavObjectStatus
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDecoratedResultStatus
(PlanExecutionManager planExecutionManager, ResultsSummary resultSummary, DecoratedResult decoratedResult) -
Method Summary
Modifier and TypeMethodDescription@NotNull String
A test representation of the duration of this object@Nullable ExecutionStatus
@NotNull String
@Nullable String
@NotNull String
A text representation of test status for this objectboolean
isActive()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Field Details
-
NOT_RUN_YET
- See Also:
-
-
Constructor Details
-
DecoratedResultStatus
public DecoratedResultStatus(PlanExecutionManager planExecutionManager, ResultsSummary resultSummary, DecoratedResult decoratedResult)
-
-
Method Details
-
getDisplayClass
- Specified by:
getDisplayClass
in interfaceDecoratedNavObjectStatus
- Returns:
- the css class to be used for this object
-
getJobExecutionPhaseString
- Specified by:
getJobExecutionPhaseString
in interfaceDecoratedNavObjectStatus
- Returns:
- string representing current phase of job execution
-
getExecutionStatus
- Specified by:
getExecutionStatus
in interfaceDecoratedNavObjectStatus
- Returns:
- If the build is running returns details about the running build
-
isInProgress
public boolean isInProgress()- Specified by:
isInProgress
in interfaceDecoratedNavObjectStatus
- Returns:
- true if this object currently running.
-
isActive
public boolean isActive()- Specified by:
isActive
in interfaceDecoratedNavObjectStatus
- Returns:
- true if this object currently active.
-
isUpdatingSource
public boolean isUpdatingSource()- Specified by:
isUpdatingSource
in interfaceDecoratedNavObjectStatus
-
getTestSummary
Description copied from interface:DecoratedNavObjectStatus
A text representation of test status for this object- Specified by:
getTestSummary
in interfaceDecoratedNavObjectStatus
- Returns:
-
getDuration
Description copied from interface:DecoratedNavObjectStatus
A test representation of the duration of this object- Specified by:
getDuration
in interfaceDecoratedNavObjectStatus
- Returns:
-
getBuildStartTime
-
isContinuable
public boolean isContinuable() -
isNotRunYet
public boolean isNotRunYet() -
getSummarySuffix
- Specified by:
getSummarySuffix
in interfaceDecoratedNavObjectStatus
- Returns:
- text describing the build/job status (e.g. "was successful", "failed")
-
getOpTimeText
- Specified by:
getOpTimeText
in interfaceDecoratedNavObjectStatus
-
getLifeCycleState
-
getBuildState
-
isSpecsResult
public boolean isSpecsResult()- Specified by:
isSpecsResult
in interfaceDecoratedNavObjectStatus
- Returns:
- true if build result is created on Bamboo Specs execution
-
isSpecsFailure
public boolean isSpecsFailure()- Specified by:
isSpecsFailure
in interfaceDecoratedNavObjectStatus
- Returns:
- true if build result is created on Bamboo Specs execution failure
-
isSpecsSuccess
public boolean isSpecsSuccess()- Specified by:
isSpecsSuccess
in interfaceDecoratedNavObjectStatus
- Returns:
- true if build result is created on Bamboo Specs execution success
-