public class InterfaceRemoveHandler extends AbstractRemoveStepHandler implements DescriptionProvider
Modifier and Type | Field and Description |
---|---|
static InterfaceRemoveHandler |
INSTANCE |
static String |
OPERATION_NAME |
Modifier | Constructor and Description |
---|---|
protected |
InterfaceRemoveHandler()
Create the InterfaceRemoveHandler
|
Modifier and Type | Method and Description |
---|---|
protected String |
getInterfaceName(org.jboss.dmr.ModelNode operation) |
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.
|
execute, performRemove, performRuntime, recoverServices, requireNoChildResources, requiresRuntime
public static final String OPERATION_NAME
public static final InterfaceRemoveHandler INSTANCE
protected InterfaceRemoveHandler()
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 String getInterfaceName(org.jboss.dmr.ModelNode operation)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.