Package com.atlassian.bamboo.v2.build
Interface CurrentResult
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
CurrentBuildResult
- All Known Implementing Classes:
CurrentBuildResultImpl
,CurrentResultImpl
public interface CurrentResult extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract 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(Date startDate)
-
-
-
Method Detail
-
getBuildState
@NotNull @NotNull BuildState getBuildState()
-
setBuildState
void setBuildState(@NotNull @NotNull BuildState buildState)
-
getLifeCycleState
@NotNull @NotNull LifeCycleState getLifeCycleState()
-
setLifeCycleState
void setLifeCycleState(@NotNull @NotNull LifeCycleState lifeCycleState)
-
getCustomBuildData
@NotNull @NotNull Map<String,String> getCustomBuildData()
Returns a map of string keyed strings for storing arbitrary data
-
isStarted
boolean isStarted()
-
setStarted
void setStarted(boolean started)
-
clearBuildErrors
void clearBuildErrors()
-
getTasksStartDate
@NotNull @NotNull Date getTasksStartDate()
-
setTasksStartDate
void setTasksStartDate(Date startDate)
-
getTaskResults
@NotNull @NotNull List<TaskResult> getTaskResults()
-
setTaskResults
void setTaskResults(List<TaskResult> taskResults)
-
getTaskResultsForTask
List<TaskResult> getTaskResultsForTask(@NotNull @NotNull String pluginKey)
-
getVcsWorkingCopyState
VcsWorkingCopyState getVcsWorkingCopyState()
Version control system working copy state after build completion. Tasks can add repository revisions which were changed during build.
-
-