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)
Create the PathAddHandler
|
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
protected PathAddHandler(PathManagerService pathManager, boolean services, SimpleAttributeDefinition pathAttribute)
public 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 OperationStepHandler
context
- the operation contextoperation
- the operation being executedOperationFailedException
- if the operation failed before calling context.completeStep()
Copyright © 2023 JBoss by Red Hat. All rights reserved.