com.atlassian.bamboo.v2.build
Class CurrentResultImpl

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.CurrentResultImpl
All Implemented Interfaces:
CurrentResult, Serializable

public class CurrentResultImpl
extends Object
implements CurrentResult

See Also:
Serialized Form

Constructor Summary
CurrentResultImpl()
           
 
Method Summary
 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()
           
 boolean isStarted()
           
 void setBuildState(BuildState buildState)
           
 void setLifeCycleState(LifeCycleState lifeCycleState)
           
 void setStarted(boolean started)
           
 void setTaskResults(List<TaskResult> taskResults)
           
 void setTasksStartDate(Date taskStartDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentResultImpl

public CurrentResultImpl()
Method Detail

getBuildState

@NotNull
public BuildState getBuildState()
Specified by:
getBuildState in interface CurrentResult

setBuildState

public void setBuildState(@NotNull
                          BuildState buildState)
Specified by:
setBuildState in interface CurrentResult

getLifeCycleState

@NotNull
public LifeCycleState getLifeCycleState()
Specified by:
getLifeCycleState in interface CurrentResult

setLifeCycleState

public void setLifeCycleState(@NotNull
                              LifeCycleState lifeCycleState)
Specified by:
setLifeCycleState in interface CurrentResult

getCustomBuildData

@NotNull
public Map<String,String> getCustomBuildData()
Description copied from interface: CurrentResult
Returns a map of string keyed strings for storing arbitrary data

Specified by:
getCustomBuildData in interface CurrentResult
Returns:

isStarted

public boolean isStarted()
Specified by:
isStarted in interface CurrentResult

setStarted

public void setStarted(boolean started)
Specified by:
setStarted in interface CurrentResult

addBuildErrors

public void addBuildErrors(@Nullable
                           List<String> errorMessages)
Specified by:
addBuildErrors in interface CurrentResult

getBuildErrors

@NotNull
public List<String> getBuildErrors()
Specified by:
getBuildErrors in interface CurrentResult

clearBuildErrors

public void clearBuildErrors()
Specified by:
clearBuildErrors in interface CurrentResult

getTaskResults

@NotNull
public List<TaskResult> getTaskResults()
Specified by:
getTaskResults in interface CurrentResult

setTaskResults

public void setTaskResults(List<TaskResult> taskResults)
Specified by:
setTaskResults in interface CurrentResult

getTaskResultsForTask

public List<TaskResult> getTaskResultsForTask(@NotNull
                                              String pluginKey)
Specified by:
getTaskResultsForTask in interface CurrentResult

getTasksStartDate

@NotNull
public Date getTasksStartDate()
Specified by:
getTasksStartDate in interface CurrentResult

setTasksStartDate

public void setTasksStartDate(@NotNull
                              Date taskStartDate)
Specified by:
setTasksStartDate in interface CurrentResult


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.