T - Type of Node/Task IDR - Type of Node/Task resultpublic final class ExecutionResults<T,R> extends Object implements Serializable
| Constructor and Description |
|---|
ExecutionResults() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ExecutionResult<T,R> result)
adds
result to existing collection of results |
boolean |
anyCancelled() |
boolean |
anySkipped() |
List<ExecutionResult<T,R>> |
getAll() |
List<ExecutionResult<T,R>> |
getCancelled() |
List<ExecutionResult<T,R>> |
getErrored() |
ExecutionResult<T,R> |
getFirst() |
List<ExecutionResult<T,R>> |
getSkipped() |
List<ExecutionResult<T,R>> |
getSuccess() |
boolean |
hasAnyResult() |
String |
toString() |
public void add(ExecutionResult<T,R> result)
result to existing collection of resultsresult - Result to be added to all resultspublic ExecutionResult<T,R> getFirst()
in the collectionpublic boolean hasAnyResult()
true If there is any result
false if no resultpublic boolean anySkipped()
true If any parent is skipped
false if no parent is skippedpublic boolean anyCancelled()
public List<ExecutionResult<T,R>> getSkipped()
public List<ExecutionResult<T,R>> getCancelled()
public List<ExecutionResult<T,R>> getSuccess()
public List<ExecutionResult<T,R>> getErrored()
public List<ExecutionResult<T,R>> getAll()
Copyright © 2016–2021 Dexecutor. All rights reserved.