public class GetChildrenNamesCommand extends AbstractDataCommand
Node.getChildrenNames()
This is the equivalent of the old MethodCallDefinitions.getChildrenNamesMethodLocal method call from 2.1.x.
Modifier and Type | Field and Description |
---|---|
static int |
METHOD_ID |
dataContainer, fqn
Constructor and Description |
---|
GetChildrenNamesCommand() |
GetChildrenNamesCommand(Fqn fqn) |
Modifier and Type | Method and Description |
---|---|
Object |
acceptVisitor(InvocationContext ctx,
Visitor visitor)
Accept a visitor, and return the result of accepting this visitor.
|
int |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
Object |
perform(InvocationContext ctx)
Retrieves the names of children for a specific Fqn.
|
equals, getFqn, getParameters, hashCode, initialize, setParameters, toString
public static final int METHOD_ID
public GetChildrenNamesCommand()
public GetChildrenNamesCommand(Fqn fqn)
public Object perform(InvocationContext ctx)
ctx
- invocation contextpublic Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommand
ctx
- invocation contextvisitor
- visitor to acceptThrowable
- in the event of problemspublic int getCommandId()
ReplicableCommand
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.