public class UserLocation extends Location implements LocationCommandInterface, BroadWorksServerLocationInterface
Modifier and Type | Field and Description |
---|---|
static HashMap<TreeNode<String>,Command> |
commandTreeToCommandMap |
static TreeNode<String> |
locationCommandTree |
Constructor and Description |
---|
UserLocation(Alpaca alpaca,
BroadWorksConnection connection,
co.ecg.alpaca.toolkit.generated.User user) |
UserLocation(GroupLocation parent,
co.ecg.alpaca.toolkit.generated.User user) |
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.User |
getUser() |
void |
populateChildren()
Populate the Children ID list
|
String |
toString() |
addCommandToTree, execute, getAlpaca, getBroadWorksServer, getChildren, getCommandTree, getCommandTreeMap, getConnection, getName, getParent, getPwd, getRootLocationCommandMap, getRootLocationCommandTree, isHelpRequest, isSystem, isValid, println, printLocalOptions, pwd, reset, setChildren, setCommandMap, setCommands, setIsSystem, setIsValid, setName, setParent, setPwd
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren, getCommandTree, getCommandTreeMap, getName, getParent, getPwd, isSystem, pwd, reset
getAlpaca
public UserLocation(Alpaca alpaca, BroadWorksConnection connection, co.ecg.alpaca.toolkit.generated.User user) throws co.ecg.alpaca.toolkit.exception.AlpacaException
co.ecg.alpaca.toolkit.exception.AlpacaException
public UserLocation(GroupLocation parent, co.ecg.alpaca.toolkit.generated.User user) throws co.ecg.alpaca.toolkit.exception.AlpacaException
co.ecg.alpaca.toolkit.exception.AlpacaException
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.User getUser()
public void populateChildren() throws co.ecg.alpaca.toolkit.exception.AlpacaException
BroadWorksServerLocationInterface
populateChildren
in interface BroadWorksServerLocationInterface
populateChildren
in interface LocationCommandInterface
co.ecg.alpaca.toolkit.exception.AlpacaException
Copyright © 2016. All rights reserved.