public class ServiceProviderLocation extends Location implements LocationCommandInterface
| Modifier and Type | Field and Description |
|---|---|
static HashMap<TreeNode<String>,Command> |
commandTreeToCommandMap |
static TreeNode<String> |
locationCommandTree |
| Constructor and Description |
|---|
ServiceProviderLocation(ServerLocation server,
ServiceProvider serviceProvider)
Creates a ServiceProvider location with the provided server location and backing ServiceProvider.
|
| 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) |
ServiceProvider |
getServiceProvider() |
void |
populateChildren() |
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, setPwdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildren, getCommandTree, getCommandTreeMap, getName, getParent, getPwd, isSystem, pwd, resetpublic ServiceProviderLocation(ServerLocation server, ServiceProvider serviceProvider)
server - The server locationserviceProvider - The backing ServiceProviderpublic static void addCommandToTree(Command command)
public void displayHelp()
LocationCommandInterfacedisplayHelp in interface LocationCommandInterfacedisplayHelp in class Locationpublic int execute(List<String> args) throws AlpacaException
LocationCommandInterfaceexecute in interface LocationCommandInterfaceexecute in class LocationAlpacaExceptionpublic Location getChildLocation(String locationName)
getChildLocation in class Locationpublic ServiceProvider getServiceProvider()
public void populateChildren()
populateChildren in interface LocationCommandInterfacepublic void refresh()
throws BroadWorksObjectException
refresh in class LocationBroadWorksObjectExceptionCopyright © 2017 ECG. All rights reserved.