public class CompletedBatchOperation extends Object implements BatchOperationResult<FlowRule>
| Constructor and Description |
|---|
CompletedBatchOperation(boolean success,
Set<? extends FlowRule> failures)
Creates a new batch completion result.
|
CompletedBatchOperation(boolean success,
Set<? extends FlowRule> failures,
Set<Long> failedIds)
Creates a new batch completion result.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Long> |
failedIds() |
Set<FlowRule> |
failedItems()
Obtains a set of items which failed.
|
boolean |
isSuccess()
Returns whether the operation was successful.
|
String |
toString() |
public CompletedBatchOperation(boolean success,
Set<? extends FlowRule> failures,
Set<Long> failedIds)
success - indicates whether the completion is successful.failures - set of any failures encounteredfailedIds - (optional) set of failed operation idspublic boolean isSuccess()
BatchOperationResultisSuccess in interface BatchOperationResult<FlowRule>public Set<FlowRule> failedItems()
BatchOperationResultfailedItems in interface BatchOperationResult<FlowRule>Copyright © 2015. All rights reserved.