public class PathAddHandler extends Object implements OperationStepHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
PathAddHandler(PathManagerService pathManager,
boolean services,
SimpleAttributeDefinition pathAttribute)
Deprecated.
not for use outside the kernel; may be removed at any time
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(OperationContext context,
org.jboss.dmr.ModelNode operation)
{@inheritDoc
|
static org.jboss.dmr.ModelNode |
getAddPathOperation(PathAddress address,
org.jboss.dmr.ModelNode path,
org.jboss.dmr.ModelNode relativeTo) |
public static final String OPERATION_NAME
@Deprecated protected PathAddHandler(PathManagerService pathManager, boolean services, SimpleAttributeDefinition pathAttribute)
pathManager - the path manager, or null if interaction with the path manager is not required
for the resourceservices - true if interaction with the path manager is required for the resourcepathAttribute - the definition of the attribute to use to represent the portion of the path specification
that identifies the absolute path or portion of the path that is relative to the 'relative-to' path.
Cannot be nullpublic static org.jboss.dmr.ModelNode getAddPathOperation(PathAddress address, org.jboss.dmr.ModelNode path, org.jboss.dmr.ModelNode relativeTo)
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
execute in interface OperationStepHandlercontext - the operation contextoperation - the operation being executedOperationFailedException - if the operation failed before calling context.completeStep()Copyright © 2018 JBoss by Red Hat. All rights reserved.