public class RunTaskResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
RunTaskResult() |
Modifier and Type | Method and Description |
---|---|
RunTaskResult |
clone() |
boolean |
equals(Object obj) |
List<Failure> |
getFailures()
Any failed tasks from your
RunTask action are listed
here. |
List<Task> |
getTasks()
A full description of the tasks that were run.
|
int |
hashCode() |
void |
setFailures(Collection<Failure> failures)
Any failed tasks from your
RunTask action are listed
here. |
void |
setTasks(Collection<Task> tasks)
A full description of the tasks that were run.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RunTaskResult |
withFailures(Collection<Failure> failures)
Any failed tasks from your
RunTask action are listed
here. |
RunTaskResult |
withFailures(Failure... failures)
Any failed tasks from your
RunTask action are listed
here. |
RunTaskResult |
withTasks(Collection<Task> tasks)
A full description of the tasks that were run.
|
RunTaskResult |
withTasks(Task... tasks)
A full description of the tasks that were run.
|
public List<Task> getTasks()
public void setTasks(Collection<Task> tasks)
tasks
- A full description of the tasks that were run. Each task that was
successfully placed on your cluster will be described here.public RunTaskResult withTasks(Task... tasks)
Returns a reference to this object so that method calls can be chained together.
tasks
- A full description of the tasks that were run. Each task that was
successfully placed on your cluster will be described here.public RunTaskResult withTasks(Collection<Task> tasks)
Returns a reference to this object so that method calls can be chained together.
tasks
- A full description of the tasks that were run. Each task that was
successfully placed on your cluster will be described here.public List<Failure> getFailures()
RunTask
action are listed
here.RunTask
action are listed
here.public void setFailures(Collection<Failure> failures)
RunTask
action are listed
here.failures
- Any failed tasks from your RunTask
action are listed
here.public RunTaskResult withFailures(Failure... failures)
RunTask
action are listed
here.
Returns a reference to this object so that method calls can be chained together.
failures
- Any failed tasks from your RunTask
action are listed
here.public RunTaskResult withFailures(Collection<Failure> failures)
RunTask
action are listed
here.
Returns a reference to this object so that method calls can be chained together.
failures
- Any failed tasks from your RunTask
action are listed
here.public String toString()
toString
in class Object
Object.toString()
public RunTaskResult clone()
Copyright © 2015. All rights reserved.