Class CompletedBatchOperation

    • Constructor Detail

      • CompletedBatchOperation

        public CompletedBatchOperation​(boolean success,
                                       Set<? extends FlowRule> failures,
                                       Set<Long> failedIds,
                                       DeviceId deviceId)
        Creates a new batch completion result.
        Parameters:
        success - indicates whether the completion is successful
        failures - set of any failures encountered
        failedIds - (optional) set of failed operation ids
        deviceId - the device this operation completed for
      • CompletedBatchOperation

        public CompletedBatchOperation​(boolean success,
                                       Set<? extends FlowRule> failures,
                                       DeviceId deviceId)
        Creates a new batch completion result.
        Parameters:
        success - indicates whether the completion is successful.
        failures - set of any failures encountered
        deviceId - the device this operation completed for