Package | Description |
---|---|
co.ecg.alpaca.toolkit.shell.commands |
The shell.commands package contains all of the Alpaca CLI commands.
|
co.ecg.alpaca.toolkit.shell.locations |
The shell.locations packages contains all of the Alpaca location classes.
|
co.ecg.alpaca.toolkit.shell.locations.interfaces |
The shell.locations.interfaces package contains interfaces are to be implemented by the various Alpaca Locations.
|
Modifier and Type | Method and Description |
---|---|
String |
Tree.markdownBranch(TreeNode<String> branch,
int depth,
HashMap<TreeNode<String>,Command> commandMap) |
String |
Tree.plainTextBranch(TreeNode<String> branch,
int depth,
HashMap<TreeNode<String>,Command> commandMap) |
Modifier and Type | Method and Description |
---|---|
String |
Tree.markdownBranch(TreeNode<String> branch,
int depth,
HashMap<TreeNode<String>,Command> commandMap) |
void |
Tree.outputMarkdown(PrintStream out,
HashMap<String,TreeNode<String>> locationMap,
HashMap<String,HashMap<TreeNode<String>,Command>> commandMap) |
void |
Tree.outputMarkdown(PrintStream out,
HashMap<String,TreeNode<String>> locationMap,
HashMap<String,HashMap<TreeNode<String>,Command>> commandMap) |
void |
Tree.outputPlainText(PrintStream out,
HashMap<String,TreeNode<String>> locationMap,
HashMap<String,HashMap<TreeNode<String>,Command>> commandMap) |
void |
Tree.outputPlainText(PrintStream out,
HashMap<String,TreeNode<String>> locationMap,
HashMap<String,HashMap<TreeNode<String>,Command>> commandMap) |
String |
Tree.plainTextBranch(TreeNode<String> branch,
int depth,
HashMap<TreeNode<String>,Command> commandMap) |
Modifier and Type | Field and Description |
---|---|
static TreeNode<String> |
GroupAccessDevicesLocation.locationCommandTree |
static TreeNode<String> |
UserLocation.locationCommandTree |
static TreeNode<String> |
UsersLocation.locationCommandTree |
static TreeNode<String> |
GroupAccessDeviceLocation.locationCommandTree |
static TreeNode<String> |
ServiceProviderLocation.locationCommandTree |
static TreeNode<String> |
HuntGroupLocation.locationCommandTree |
static TreeNode<String> |
Root.locationCommandTree |
static TreeNode<String> |
ServerLocation.locationCommandTree |
static TreeNode<String> |
GroupLocation.locationCommandTree |
static TreeNode<String> |
HuntGroupsLocation.locationCommandTree |
TreeNode<T> |
TreeNode.parent |
Modifier and Type | Field and Description |
---|---|
HashMap<T,TreeNode<T>> |
TreeNode.children |
static HashMap<TreeNode<String>,Command> |
GroupAccessDevicesLocation.commandTreeToCommandMap |
static HashMap<TreeNode<String>,Command> |
UserLocation.commandTreeToCommandMap |
static HashMap<TreeNode<String>,Command> |
UsersLocation.commandTreeToCommandMap |
static HashMap<TreeNode<String>,Command> |
GroupAccessDeviceLocation.commandTreeToCommandMap |
static HashMap<TreeNode<String>,Command> |
ServiceProviderLocation.commandTreeToCommandMap |
static HashMap<TreeNode<String>,Command> |
HuntGroupLocation.commandTreeToCommandMap |
static HashMap<TreeNode<String>,Command> |
Root.commandTreeToCommandMap |
static HashMap<TreeNode<String>,Command> |
ServerLocation.commandTreeToCommandMap |
static HashMap<TreeNode<String>,Command> |
GroupLocation.commandTreeToCommandMap |
static HashMap<TreeNode<String>,Command> |
HuntGroupsLocation.commandTreeToCommandMap |
Modifier and Type | Method and Description |
---|---|
TreeNode<T> |
TreeNode.addChild(T child) |
static TreeNode<String> |
Location.addCommandToTree(Command command,
TreeNode<String> commandTree)
Adds a command to the Locations Command Tree
|
TreeNode<T> |
TreeNode.get(T data) |
TreeNode<String> |
Location.getCommandTree() |
static TreeNode<String> |
Location.getRootLocationCommandTree() |
Modifier and Type | Method and Description |
---|---|
HashMap<TreeNode<String>,Command> |
Location.getCommandTreeMap() |
static HashMap<TreeNode<String>,Command> |
Location.getRootLocationCommandMap() |
Modifier and Type | Method and Description |
---|---|
static TreeNode<String> |
Location.addCommandToTree(Command command,
TreeNode<String> commandTree)
Adds a command to the Locations Command Tree
|
static int |
Location.execute(Location location,
TreeNode<String> locationCommandTree,
HashMap<TreeNode<String>,Command> commandTreeToCommandMap,
List<String> args,
boolean quiet)
Generic Execution method for Running a command from a given Location
|
void |
Location.setCommands(TreeNode<String> commands) |
Modifier and Type | Method and Description |
---|---|
static int |
Location.execute(Location location,
TreeNode<String> locationCommandTree,
HashMap<TreeNode<String>,Command> commandTreeToCommandMap,
List<String> args,
boolean quiet)
Generic Execution method for Running a command from a given Location
|
jline.console.completer.AggregateCompleter |
TreeNode.getCompleter(HashMap<TreeNode<String>,Command> commandMap,
Location currentLocation)
Creates an ArgumentCompleter tree from the TreeNode
|
void |
Location.setCommandMap(HashMap<TreeNode<String>,Command> commandMap) |
Modifier and Type | Method and Description |
---|---|
TreeNode<String> |
LocationCommandInterface.getCommandTree()
Returns the command tree
|
Modifier and Type | Method and Description |
---|---|
HashMap<TreeNode<String>,Command> |
LocationCommandInterface.getCommandTreeMap()
Returns the command tree map
|
Copyright © 2017 ECG. All rights reserved.