public class PathRemoveHandler extends AbstractRemoveStepHandler implements DescriptionProvider
Modifier and Type | Field and Description |
---|---|
static PathRemoveHandler |
NAMED_INSTANCE |
static String |
OPERATION_NAME |
static PathRemoveHandler |
SPECIFIED_INSTANCE |
static PathRemoveHandler |
SPECIFIED_NO_SERVICES_INSTANCE |
Modifier | Constructor and Description |
---|---|
protected |
PathRemoveHandler(boolean services)
Create the PathRemoveHandler
|
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
getModelDescription(Locale locale)
Gets the descriptive information (human-friendly description, list of attributes,
list of children) describing a single model node or operation.
|
static org.jboss.dmr.ModelNode |
getRemovePathOperation(org.jboss.dmr.ModelNode address) |
protected void |
performRuntime(OperationContext context,
org.jboss.dmr.ModelNode operation,
org.jboss.dmr.ModelNode model) |
protected boolean |
requiresRuntime(OperationContext context) |
execute, performRemove, recoverServices, requireNoChildResources
public static final String OPERATION_NAME
public static final PathRemoveHandler NAMED_INSTANCE
public static PathRemoveHandler SPECIFIED_INSTANCE
public static PathRemoveHandler SPECIFIED_NO_SERVICES_INSTANCE
protected PathRemoveHandler(boolean services)
public static org.jboss.dmr.ModelNode getRemovePathOperation(org.jboss.dmr.ModelNode address)
public org.jboss.dmr.ModelNode getModelDescription(Locale locale)
DescriptionProvider
The implementation must assume that the caller intends to modify the
returned ModelNode
so it should not hand out a reference to any internal data structures.
getModelDescription
in interface DescriptionProvider
locale
- the locale to use to generate any localized text used in the description.
May be null
, in which case Locale.getDefault()
should be usedModelNode
describing the model node's structureprotected boolean requiresRuntime(OperationContext context)
requiresRuntime
in class AbstractRemoveStepHandler
protected void performRuntime(OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)
performRuntime
in class AbstractRemoveStepHandler
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.