public interface LocationCommandInterface
Modifier and Type | Method and Description |
---|---|
void |
displayHelp()
Command help description.
|
int |
execute(List<String> args)
Executes this command.
|
List<ChildLocation> |
getChildren()
Retrieve Children Locations
|
TreeNode<String> |
getCommandTree()
Returns the command tree
|
HashMap<TreeNode<String>,Command> |
getCommandTreeMap()
Returns the command tree map
|
String |
getName()
Command Name
|
Location |
getParent()
Returns the parent object of this location
|
String |
getPwd()
Get the current location as String
|
boolean |
isSystem()
True IFF this location is the System object
|
void |
populateChildren() |
void |
pwd()
Print the locations current directory
|
void |
reset()
Resets the object following use;
|
void displayHelp()
int execute(List<String> args) throws co.ecg.alpaca.toolkit.exception.AlpacaException
co.ecg.alpaca.toolkit.exception.AlpacaException
List<ChildLocation> getChildren()
HashMap<TreeNode<String>,Command> getCommandTreeMap()
String getName()
Location getParent()
String getPwd()
boolean isSystem()
void pwd()
void reset()
void populateChildren() throws co.ecg.alpaca.toolkit.exception.AlpacaException
co.ecg.alpaca.toolkit.exception.AlpacaException
Copyright © 2016. All rights reserved.