public class CurrentResultImpl extends Object implements CurrentResult
Constructor and Description |
---|
CurrentResultImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addBuildErrors(List<String> errorMessages) |
void |
clearBuildErrors() |
List<String> |
getBuildErrors() |
BuildState |
getBuildState() |
Map<String,String> |
getCustomBuildData()
Returns a map of string keyed strings for storing arbitrary data
|
LifeCycleState |
getLifeCycleState() |
List<TaskResult> |
getTaskResults() |
List<TaskResult> |
getTaskResultsForTask(String pluginKey) |
Date |
getTasksStartDate() |
VcsWorkingCopyState |
getVcsWorkingCopyState()
Version control system working copy state after build completion.
|
boolean |
isStarted() |
void |
setBuildState(BuildState buildState) |
void |
setLifeCycleState(LifeCycleState lifeCycleState) |
void |
setStarted(boolean started) |
void |
setTaskResults(List<TaskResult> taskResults) |
void |
setTasksStartDate(Date startDate) |
@NotNull public BuildState getBuildState()
getBuildState
in interface CurrentResult
public void setBuildState(@NotNull BuildState buildState)
setBuildState
in interface CurrentResult
@NotNull public LifeCycleState getLifeCycleState()
getLifeCycleState
in interface CurrentResult
public void setLifeCycleState(@NotNull LifeCycleState lifeCycleState)
setLifeCycleState
in interface CurrentResult
@NotNull public Map<String,String> getCustomBuildData()
CurrentResult
getCustomBuildData
in interface CurrentResult
public boolean isStarted()
isStarted
in interface CurrentResult
public void setStarted(boolean started)
setStarted
in interface CurrentResult
public void addBuildErrors(@Nullable List<String> errorMessages)
addBuildErrors
in interface CurrentResult
@NotNull public List<String> getBuildErrors()
getBuildErrors
in interface CurrentResult
public void clearBuildErrors()
clearBuildErrors
in interface CurrentResult
@NotNull public List<TaskResult> getTaskResults()
getTaskResults
in interface CurrentResult
public void setTaskResults(List<TaskResult> taskResults)
setTaskResults
in interface CurrentResult
public List<TaskResult> getTaskResultsForTask(@NotNull String pluginKey)
getTaskResultsForTask
in interface CurrentResult
@NotNull public Date getTasksStartDate()
getTasksStartDate
in interface CurrentResult
public void setTasksStartDate(@NotNull Date startDate)
setTasksStartDate
in interface CurrentResult
public VcsWorkingCopyState getVcsWorkingCopyState()
CurrentResult
getVcsWorkingCopyState
in interface CurrentResult
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.