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(UsersLocation parent,
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.
|
Location |
getChildLocation(String locationName) |
User |
getUser() |
void |
populateChildren()
Populate the Children ID list
|
void |
refresh() |
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
getAlpaca
public UserLocation(UsersLocation parent, User user)
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 AlpacaException
LocationCommandInterface
execute
in interface LocationCommandInterface
execute
in class Location
AlpacaException
public Location getChildLocation(String locationName)
getChildLocation
in class Location
public User getUser()
public void populateChildren()
BroadWorksServerLocationInterface
populateChildren
in interface BroadWorksServerLocationInterface
populateChildren
in interface LocationCommandInterface
public void refresh() throws BroadWorksObjectException
refresh
in class Location
BroadWorksObjectException
Copyright © 2017 ECG. All rights reserved.