public class CommandGraph extends Object
A command graph may have multiple commands, and multiple sub-commands below that, and possibly below that.
| Constructor and Description |
|---|
CommandGraph()
Create a new command graph.
|
| Modifier and Type | Method and Description |
|---|---|
CommandGraph |
builder(ParametricBuilder builder)
Set the
ParametricBuilder used for calls to
DispatcherNode.registerMethods(Object). |
DispatcherNode |
commands()
Get the root dispatcher node.
|
ParametricBuilder |
getBuilder()
Get the
ParametricBuilder. |
Dispatcher |
getDispatcher()
Get the root dispatcher.
|
public DispatcherNode commands()
public ParametricBuilder getBuilder()
ParametricBuilder.public CommandGraph builder(ParametricBuilder builder)
ParametricBuilder used for calls to
DispatcherNode.registerMethods(Object).builder - the builder, or nullpublic Dispatcher getDispatcher()
Copyright © 2015. All Rights Reserved.