Package com.atlassian.bamboo.v2.build
Class CurrentResultImpl
java.lang.Object
com.atlassian.bamboo.v2.build.CurrentResultImpl
- All Implemented Interfaces:
CurrentResult
,Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBuildErrors
(@Nullable List<String> errorMessages) void
@NotNull BuildState
Returns a map of string keyed strings for storing arbitrary data@NotNull LifeCycleState
@NotNull List<TaskResult>
getTaskResultsForTask
(@NotNull String pluginKey) @NotNull Date
Version control system working copy state after build completion.boolean
void
setBuildState
(@NotNull BuildState buildState) void
setLifeCycleState
(@NotNull LifeCycleState lifeCycleState) void
setStarted
(boolean started) void
setTaskResults
(List<TaskResult> taskResults) void
setTasksStartDate
(@NotNull Date startDate)
-
Constructor Details
-
CurrentResultImpl
public CurrentResultImpl()
-
-
Method Details
-
getBuildState
- Specified by:
getBuildState
in interfaceCurrentResult
-
setBuildState
- Specified by:
setBuildState
in interfaceCurrentResult
-
getLifeCycleState
- Specified by:
getLifeCycleState
in interfaceCurrentResult
-
setLifeCycleState
- Specified by:
setLifeCycleState
in interfaceCurrentResult
-
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
- Specified by:
addBuildErrors
in interfaceCurrentResult
-
getBuildErrors
- Specified by:
getBuildErrors
in interfaceCurrentResult
-
clearBuildErrors
public void clearBuildErrors()- Specified by:
clearBuildErrors
in interfaceCurrentResult
-
getTaskResults
- Specified by:
getTaskResults
in interfaceCurrentResult
-
setTaskResults
- Specified by:
setTaskResults
in interfaceCurrentResult
-
getTaskResultsForTask
- Specified by:
getTaskResultsForTask
in interfaceCurrentResult
-
getTasksStartDate
- Specified by:
getTasksStartDate
in interfaceCurrentResult
-
setTasksStartDate
- Specified by:
setTasksStartDate
in interfaceCurrentResult
-
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
-