Class CompletedBatchOperation

    • Constructor Summary

      Constructors 
      Constructor Description
      CompletedBatchOperation​(boolean success, java.util.Set<? extends FlowRule> failures, java.util.Set<java.lang.Long> failedIds, DeviceId deviceId)
      Creates a new batch completion result.
      CompletedBatchOperation​(boolean success, java.util.Set<? extends FlowRule> failures, DeviceId deviceId)
      Creates a new batch completion result.
    • Constructor Detail

      • CompletedBatchOperation

        public CompletedBatchOperation​(boolean success,
                                       java.util.Set<? extends FlowRule> failures,
                                       java.util.Set<java.lang.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,
                                       java.util.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
    • Method Detail

      • failedIds

        public java.util.Set<java.lang.Long> failedIds()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object