public class StartTaskResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
StartTaskResult() |
| Modifier and Type | Method and Description |
|---|---|
StartTaskResult |
clone() |
boolean |
equals(Object obj) |
List<Failure> |
getFailures()
Any failed tasks from your
StartTask action are listed
here. |
List<Task> |
getTasks()
A full description of the tasks that were started.
|
int |
hashCode() |
void |
setFailures(Collection<Failure> failures)
Any failed tasks from your
StartTask action are listed
here. |
void |
setTasks(Collection<Task> tasks)
A full description of the tasks that were started.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartTaskResult |
withFailures(Collection<Failure> failures)
Any failed tasks from your
StartTask action are listed
here. |
StartTaskResult |
withFailures(Failure... failures)
Any failed tasks from your
StartTask action are listed
here. |
StartTaskResult |
withTasks(Collection<Task> tasks)
A full description of the tasks that were started.
|
StartTaskResult |
withTasks(Task... tasks)
A full description of the tasks that were started.
|
public List<Task> getTasks()
public void setTasks(Collection<Task> tasks)
tasks - A full description of the tasks that were started. Each task that was
successfully placed on your container instances will be described
here.public StartTaskResult withTasks(Task... tasks)
NOTE: This method appends the values to the existing list (if
any). Use setTasks(java.util.Collection) or withTasks(java.util.Collection) if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
tasks - A full description of the tasks that were started. Each task that was
successfully placed on your container instances will be described
here.public StartTaskResult 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 started. Each task that was
successfully placed on your container instances will be described
here.public List<Failure> getFailures()
StartTask action are listed
here.StartTask action are listed
here.public void setFailures(Collection<Failure> failures)
StartTask action are listed
here.failures - Any failed tasks from your StartTask action are listed
here.public StartTaskResult withFailures(Failure... failures)
StartTask action are listed
here.
NOTE: This method appends the values to the existing list (if
any). Use setFailures(java.util.Collection) or withFailures(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
failures - Any failed tasks from your StartTask action are listed
here.public StartTaskResult withFailures(Collection<Failure> failures)
StartTask action are listed
here.
Returns a reference to this object so that method calls can be chained together.
failures - Any failed tasks from your StartTask action are listed
here.public String toString()
toString in class ObjectObject.toString()public StartTaskResult clone()
Copyright © 2015. All rights reserved.