com.atlassian.bamboo.ww2.beans
Class DecoratedResultStatus
java.lang.Object
com.atlassian.bamboo.ww2.beans.DecoratedResultStatus
- All Implemented Interfaces:
- DecoratedNavObjectStatus
public class DecoratedResultStatus
- extends java.lang.Object
- implements DecoratedNavObjectStatus
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecoratedResultStatus
public DecoratedResultStatus(ResultsSummary resultSummary,
DecoratedResult decoratedResult)
getDisplayClass
@NotNull
public java.lang.String getDisplayClass()
- Specified by:
getDisplayClass
in interface DecoratedNavObjectStatus
- Returns:
- the css class to be used for this object
getJobExecutionPhaseString
@NotNull
public java.lang.String getJobExecutionPhaseString()
- Returns:
- string representing current phase of job execution
getExecutionStatus
@Nullable
public ExecutionStatus getExecutionStatus()
- Specified by:
getExecutionStatus
in interface DecoratedNavObjectStatus
- Returns:
- If the build is running returns details about the running build
isInProgress
public boolean isInProgress()
- Specified by:
isInProgress
in interface DecoratedNavObjectStatus
- Returns:
- true if this object currently running.
isActive
public boolean isActive()
- Specified by:
isActive
in interface DecoratedNavObjectStatus
- Returns:
- true if this object currently active.
isUpdatingSource
public boolean isUpdatingSource()
getTestSummary
public java.lang.String getTestSummary()
- Description copied from interface:
DecoratedNavObjectStatus
- A text representation of test status for this object
- Specified by:
getTestSummary
in interface DecoratedNavObjectStatus
- Returns:
getDuration
public java.lang.String getDuration()
- Description copied from interface:
DecoratedNavObjectStatus
- A test representation of the duration of this object
- Specified by:
getDuration
in interface DecoratedNavObjectStatus
- Returns:
getBuildStartTime
public java.util.Date getBuildStartTime()
getSummarySuffix
@NotNull
public java.lang.String getSummarySuffix()
- Specified by:
getSummarySuffix
in interface DecoratedNavObjectStatus
- Returns:
- text describing the build/job status (e.g. "was successful", "failed")
getOpTimeText
public java.lang.String getOpTimeText()
getLifeCycleState
public LifeCycleState getLifeCycleState()
getBuildState
public BuildState getBuildState()
Copyright © 2011 Atlassian. All Rights Reserved.