public class GroupAccessDeviceLocation extends Location implements LocationCommandInterface
Modifier and Type | Field and Description |
---|---|
static HashMap<TreeNode<String>,Command> |
commandTreeToCommandMap |
static TreeNode<String> |
locationCommandTree |
Constructor and Description |
---|
GroupAccessDeviceLocation(GroupLocation parent,
co.ecg.alpaca.toolkit.generated.GroupAccessDevice groupAccessDevice)
Creates a new GroupAccessDeviceLocation with the provided parent location and backing access device.
|
Modifier and Type | Method and Description |
---|---|
static void |
addCommandToTree(Command command) |
void |
displayHelp()
Command help description.
|
int |
execute(List<String> args)
Executes this command.
|
co.ecg.alpaca.toolkit.generated.GroupAccessDevice |
getGroupAccessDevice() |
void |
populateChildren() |
String |
toString() |
addCommandToTree, execute, getAlpaca, getBroadWorksServer, getChildren, getCommandTree, getCommandTreeMap, getConnection, getName, getParent, getPwd, getRootLocationCommandMap, getRootLocationCommandTree, isSystem, isValid, println, pwd, reset, setChildren, setCommandMap, setCommands, setConnection, setIsValid, setName, setParent, setPwd
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren, getCommandTree, getCommandTreeMap, getName, getParent, getPwd, isSystem, pwd, reset
public GroupAccessDeviceLocation(GroupLocation parent, co.ecg.alpaca.toolkit.generated.GroupAccessDevice groupAccessDevice)
parent
- The parent locationgroupAccessDevice
- The backing access device.public static void addCommandToTree(Command command)
public void displayHelp()
LocationCommandInterface
displayHelp
in interface LocationCommandInterface
displayHelp
in class Location
public int execute(List<String> args) throws co.ecg.alpaca.toolkit.exception.AlpacaException
LocationCommandInterface
execute
in interface LocationCommandInterface
execute
in class Location
co.ecg.alpaca.toolkit.exception.AlpacaException
public co.ecg.alpaca.toolkit.generated.GroupAccessDevice getGroupAccessDevice()
public void populateChildren()
populateChildren
in interface LocationCommandInterface
Copyright © 2016. All rights reserved.