Class RunTaskResult
- All Implemented Interfaces:
Serializable, Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanAny failures associated with the call.getTasks()A full description of the tasks that were run.inthashCode()voidsetFailures(Collection<Failure> failures) Any failures associated with the call.voidsetTasks(Collection<Task> tasks) A full description of the tasks that were run.toString()Returns a string representation of this object; useful for testing and debugging.withFailures(Failure... failures) Any failures associated with the call.withFailures(Collection<Failure> failures) Any failures associated with the call.A full description of the tasks that were run.withTasks(Collection<Task> tasks) A full description of the tasks that were run.
-
Constructor Details
-
RunTaskResult
public RunTaskResult()
-
-
Method Details
-
getTasks
-
setTasks
A full description of the tasks that were run. Each task that was successfully placed on your cluster are described here.
- Parameters:
tasks- A full description of the tasks that were run. Each task that was successfully placed on your cluster are described here.
-
withTasks
A full description of the tasks that were run. Each task that was successfully placed on your cluster are described here.
NOTE: This method appends the values to the existing list (if any). Use
setTasks(java.util.Collection)orwithTasks(java.util.Collection)if you want to override the existing values.- Parameters:
tasks- A full description of the tasks that were run. Each task that was successfully placed on your cluster are described here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTasks
A full description of the tasks that were run. Each task that was successfully placed on your cluster are described here.
- Parameters:
tasks- A full description of the tasks that were run. Each task that was successfully placed on your cluster are described here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFailures
-
setFailures
Any failures associated with the call.
- Parameters:
failures- Any failures associated with the call.
-
withFailures
Any failures associated with the call.
NOTE: This method appends the values to the existing list (if any). Use
setFailures(java.util.Collection)orwithFailures(java.util.Collection)if you want to override the existing values.- Parameters:
failures- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFailures
Any failures associated with the call.
- Parameters:
failures- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-