public interface OperationRequestBuilder
Modifier and Type | Method and Description |
---|---|
void |
addNode(String type,
String name)
The address is specified as a path to the target node.
|
void |
addNodeName(String name)
This method assumes there is a non-empty prefix which ends on a node type.
|
void |
addNodeType(String type)
This method is supposed to be invoked from applying the prefix with ends on a node type.
|
void |
addProperty(String name,
String value)
Adds an argument.
|
org.jboss.dmr.ModelNode |
buildRequest()
Builds the operation request based on the collected operation name, address and arguments.
|
void |
setOperationName(String name)
Sets the name operation to be invoked.
|
void setOperationName(String name)
name
- the name of the operation to invoke.void addNode(String type, String name)
type
- the type of the nodename
- the name of the nodevoid addNodeType(String type)
type
- the type of the node.void addNodeName(String name)
name
- the name of the node for the type specified by the prefix.void addProperty(String name, String value)
name
- the name of the argumentvalue
- the value of the argumentorg.jboss.dmr.ModelNode buildRequest() throws OperationFormatException
OperationFormatException
Copyright © 2023 JBoss by Red Hat. All rights reserved.