Class AddIfAbsentStepHandler
- java.lang.Object
-
- org.jboss.as.clustering.controller.AddIfAbsentStepHandler
-
- All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler
public class AddIfAbsentStepHandler extends Object implements org.jboss.as.controller.OperationStepHandler
Adds a given child resource if absent.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description AddIfAbsentStepHandler(BiPredicate<org.jboss.as.controller.registry.Resource,org.jboss.as.controller.PathElement> present)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)
-
-
-
Constructor Detail
-
AddIfAbsentStepHandler
public AddIfAbsentStepHandler(BiPredicate<org.jboss.as.controller.registry.Resource,org.jboss.as.controller.PathElement> present)
-
-
Method Detail
-
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
-
-