Enum AddIfAbsentStepHandler
- java.lang.Object
-
- java.lang.Enum<AddIfAbsentStepHandler>
-
- org.wildfly.extension.messaging.activemq.AddIfAbsentStepHandler
-
- All Implemented Interfaces:
Serializable,Comparable<AddIfAbsentStepHandler>,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 Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)static AddIfAbsentStepHandlervalueOf(String name)Returns the enum constant of this type with the specified name.static AddIfAbsentStepHandler[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final AddIfAbsentStepHandler INSTANCE
-
-
Method Detail
-
values
public static AddIfAbsentStepHandler[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AddIfAbsentStepHandler c : AddIfAbsentStepHandler.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AddIfAbsentStepHandler valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- 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:
executein interfaceorg.jboss.as.controller.OperationStepHandler- Throws:
org.jboss.as.controller.OperationFailedException
-
-