Enum Class AddIfAbsentStepHandler

java.lang.Object
java.lang.Enum<AddIfAbsentStepHandler>
org.wildfly.extension.messaging.activemq.AddIfAbsentStepHandler
All Implemented Interfaces:
Serializable, Comparable<AddIfAbsentStepHandler>, Constable, org.jboss.as.controller.OperationStepHandler

public enum AddIfAbsentStepHandler extends Enum<AddIfAbsentStepHandler> implements org.jboss.as.controller.OperationStepHandler
Executes an add operation only if the resource does not yet exist.
Author:
Paul Ferraro
  • Enum Constant Details

  • Method Details

    • values

      public static AddIfAbsentStepHandler[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AddIfAbsentStepHandler valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • execute

      public void execute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) throws org.jboss.as.controller.OperationFailedException
      Specified by:
      execute in interface org.jboss.as.controller.OperationStepHandler
      Throws:
      org.jboss.as.controller.OperationFailedException