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 voidaddBuildErrors(@Nullable List<String> errorMessages)voidclearBuildErrors()@NotNull List<String>getBuildErrors()@NotNull BuildStategetBuildState()@NotNull Map<String,String>getCustomBuildData()Returns a map of string keyed strings for storing arbitrary data@NotNull LifeCycleStategetLifeCycleState()@NotNull List<TaskResult>getTaskResults()List<TaskResult>getTaskResultsForTask(@NotNull String pluginKey)@NotNull DategetTasksStartDate()VcsWorkingCopyStategetVcsWorkingCopyState()Version control system working copy state after build completion.booleanisStarted()voidsetBuildState(@NotNull BuildState buildState)voidsetLifeCycleState(@NotNull LifeCycleState lifeCycleState)voidsetStarted(boolean started)voidsetTaskResults(List<TaskResult> taskResults)voidsetTasksStartDate(@NotNull Date startDate)
-
-
-
Method Detail
-
getBuildState
@NotNull public @NotNull BuildState getBuildState()
- Specified by:
getBuildStatein interfaceCurrentResult
-
setBuildState
public void setBuildState(@NotNull @NotNull BuildState buildState)- Specified by:
setBuildStatein interfaceCurrentResult
-
getLifeCycleState
@NotNull public @NotNull LifeCycleState getLifeCycleState()
- Specified by:
getLifeCycleStatein interfaceCurrentResult
-
setLifeCycleState
public void setLifeCycleState(@NotNull @NotNull LifeCycleState lifeCycleState)- Specified by:
setLifeCycleStatein interfaceCurrentResult
-
getCustomBuildData
@NotNull public @NotNull Map<String,String> getCustomBuildData()
Description copied from interface:CurrentResultReturns a map of string keyed strings for storing arbitrary data- Specified by:
getCustomBuildDatain interfaceCurrentResult
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceCurrentResult
-
setStarted
public void setStarted(boolean started)
- Specified by:
setStartedin interfaceCurrentResult
-
addBuildErrors
public void addBuildErrors(@Nullable @Nullable List<String> errorMessages)- Specified by:
addBuildErrorsin interfaceCurrentResult
-
getBuildErrors
@NotNull public @NotNull List<String> getBuildErrors()
- Specified by:
getBuildErrorsin interfaceCurrentResult
-
clearBuildErrors
public void clearBuildErrors()
- Specified by:
clearBuildErrorsin interfaceCurrentResult
-
getTaskResults
@NotNull public @NotNull List<TaskResult> getTaskResults()
- Specified by:
getTaskResultsin interfaceCurrentResult
-
setTaskResults
public void setTaskResults(List<TaskResult> taskResults)
- Specified by:
setTaskResultsin interfaceCurrentResult
-
getTaskResultsForTask
public List<TaskResult> getTaskResultsForTask(@NotNull @NotNull String pluginKey)
- Specified by:
getTaskResultsForTaskin interfaceCurrentResult
-
getTasksStartDate
@NotNull public @NotNull Date getTasksStartDate()
- Specified by:
getTasksStartDatein interfaceCurrentResult
-
setTasksStartDate
public void setTasksStartDate(@NotNull @NotNull Date startDate)- Specified by:
setTasksStartDatein interfaceCurrentResult
-
getVcsWorkingCopyState
public VcsWorkingCopyState getVcsWorkingCopyState()
Description copied from interface:CurrentResultVersion control system working copy state after build completion. Tasks can add repository revisions which were changed during build.- Specified by:
getVcsWorkingCopyStatein interfaceCurrentResult
-
-