public class OperationReportImpl extends Object implements OperationReport
| Constructor and Description |
|---|
OperationReportImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsFailedResults()
Returns true if any tasks failed, causing failure results.
|
List<Result> |
getFailedResults()
An immutable list of Results that failed.
|
Result |
getResult(UUID key)
Method to retrieve a specific task result from the report.
|
boolean |
hasTransactionSucceeded()
Indicates if the transaction completed successfully with all tasks committing their changes.
|
void |
putResult(UUID key,
Result result)
Used internally to populate the report.
|
public boolean hasTransactionSucceeded()
OperationReporthasTransactionSucceeded in interface OperationReportpublic Result getResult(UUID key)
OperationReportgetResult in interface OperationReportkey - the UUID key returned from an initial setup call for a Configurator taskpublic List<Result> getFailedResults()
OperationReportgetFailedResults in interface OperationReportpublic boolean containsFailedResults()
OperationReportcontainsFailedResults in interface OperationReportpublic void putResult(UUID key, Result result)
OperationReportputResult in interface OperationReportkey - the unique key of an operationresult - the result of the operationThis work is licensed under a Creative Commons Attribution 4.0 International License.