com.atlassian.bamboo.v2.build
Class CurrentResultImpl

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

public class CurrentResultImpl
extends java.lang.Object
implements CurrentResult

See Also:
Serialized Form

Constructor Summary
CurrentResultImpl()
           
 
Method Summary
 void addBuildErrors(java.util.List<java.lang.String> errorMessages)
           
 void clearBuildErrors()
           
 java.util.List<java.lang.String> getBuildErrors()
           
 BuildState getBuildState()
           
 java.util.Map<java.lang.String,java.lang.String> getCustomBuildData()
          Returns a map of string keyed strings for storing arbitrary data
 LifeCycleState getLifeCycleState()
           
 java.util.List<TaskResult> getTaskResults()
           
 java.util.List<TaskResult> getTaskResultsForTask(java.lang.String pluginKey)
           
 java.util.Date getTasksStartDate()
           
 boolean isStarted()
           
 void setBuildState(BuildState buildState)
           
 void setLifeCycleState(LifeCycleState lifeCycleState)
           
 void setStarted(boolean started)
           
 void setTaskResults(java.util.List<TaskResult> taskResults)
           
 void setTasksStartDate(java.util.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 java.util.Map<java.lang.String,java.lang.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
                           java.util.List<java.lang.String> errorMessages)
Specified by:
addBuildErrors in interface CurrentResult

getBuildErrors

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

clearBuildErrors

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

getTaskResults

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

setTaskResults

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

getTaskResultsForTask

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

getTasksStartDate

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

setTasksStartDate

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


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.