Package com.atlassian.bamboo.v2.build
Class CurrentResultImpl
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.CurrentResultImpl
-
- All Implemented Interfaces:
CurrentResult
,Serializable
public class CurrentResultImpl extends Object implements CurrentResult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CurrentResultImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBuildErrors(@Nullable List<String> errorMessages)
void
clearBuildErrors()
@NotNull List<String>
getBuildErrors()
@NotNull BuildState
getBuildState()
@NotNull Map<String,String>
getCustomBuildData()
Returns a map of string keyed strings for storing arbitrary data@NotNull LifeCycleState
getLifeCycleState()
@NotNull List<TaskResult>
getTaskResults()
List<TaskResult>
getTaskResultsForTask(@NotNull String pluginKey)
@NotNull Date
getTasksStartDate()
VcsWorkingCopyState
getVcsWorkingCopyState()
Version control system working copy state after build completion.boolean
isStarted()
void
setBuildState(@NotNull BuildState buildState)
void
setLifeCycleState(@NotNull LifeCycleState lifeCycleState)
void
setStarted(boolean started)
void
setTaskResults(List<TaskResult> taskResults)
void
setTasksStartDate(@NotNull Date startDate)
-
-
-
Method Detail
-
getBuildState
@NotNull public @NotNull BuildState getBuildState()
- Specified by:
getBuildState
in interfaceCurrentResult
-
setBuildState
public void setBuildState(@NotNull @NotNull BuildState buildState)
- Specified by:
setBuildState
in interfaceCurrentResult
-
getLifeCycleState
@NotNull public @NotNull LifeCycleState getLifeCycleState()
- Specified by:
getLifeCycleState
in interfaceCurrentResult
-
setLifeCycleState
public void setLifeCycleState(@NotNull @NotNull LifeCycleState lifeCycleState)
- Specified by:
setLifeCycleState
in interfaceCurrentResult
-
getCustomBuildData
@NotNull public @NotNull Map<String,String> getCustomBuildData()
Description copied from interface:CurrentResult
Returns a map of string keyed strings for storing arbitrary data- Specified by:
getCustomBuildData
in interfaceCurrentResult
-
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interfaceCurrentResult
-
setStarted
public void setStarted(boolean started)
- Specified by:
setStarted
in interfaceCurrentResult
-
addBuildErrors
public void addBuildErrors(@Nullable @Nullable List<String> errorMessages)
- Specified by:
addBuildErrors
in interfaceCurrentResult
-
getBuildErrors
@NotNull public @NotNull List<String> getBuildErrors()
- Specified by:
getBuildErrors
in interfaceCurrentResult
-
clearBuildErrors
public void clearBuildErrors()
- Specified by:
clearBuildErrors
in interfaceCurrentResult
-
getTaskResults
@NotNull public @NotNull List<TaskResult> getTaskResults()
- Specified by:
getTaskResults
in interfaceCurrentResult
-
setTaskResults
public void setTaskResults(List<TaskResult> taskResults)
- Specified by:
setTaskResults
in interfaceCurrentResult
-
getTaskResultsForTask
public List<TaskResult> getTaskResultsForTask(@NotNull @NotNull String pluginKey)
- Specified by:
getTaskResultsForTask
in interfaceCurrentResult
-
getTasksStartDate
@NotNull public @NotNull Date getTasksStartDate()
- Specified by:
getTasksStartDate
in interfaceCurrentResult
-
setTasksStartDate
public void setTasksStartDate(@NotNull @NotNull Date startDate)
- Specified by:
setTasksStartDate
in interfaceCurrentResult
-
getVcsWorkingCopyState
public VcsWorkingCopyState getVcsWorkingCopyState()
Description copied from interface:CurrentResult
Version control system working copy state after build completion. Tasks can add repository revisions which were changed during build.- Specified by:
getVcsWorkingCopyState
in interfaceCurrentResult
-
-