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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation) static AddIfAbsentStepHandlerReturns the enum constant of this class with the specified name.static AddIfAbsentStepHandler[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
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
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 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
-