public class Alpaca extends Object
Constructor and Description |
---|
Alpaca() |
Modifier and Type | Method and Description |
---|---|
void |
checkInit()
Method to handle sanity checks for the Alpaca
|
AlpacaConsole |
getConsole() |
ConsoleEventSubscriber |
getConsoleEventSubscriber() |
Location |
getCurrentLocation() |
PrintStream |
getPrintStreamOut() |
Root |
getRoot() |
jline.console.completer.AggregateCompleter |
getTabCompleter() |
TaskManager |
getTaskManager() |
void |
initialize()
This method is used to initialize an Alpaca Object
|
void |
initializeForDaemon()
This method is used to initialize Alpaca for non-interactive mode.
|
boolean |
isDaemonized() |
int |
parseCommand(List<String> commands)
Handles command strings by parsing them and designating the correct
designation
|
void |
println(String s)
Prints a string followed by a newline to the console
|
void |
runCommandLineInterface()
This method initializes Alpaca and runs the Command Line Interface.
|
void |
setAggregateCompleter(jline.console.completer.AggregateCompleter aggregateCompleter) |
void |
setAlpacaConsole(AlpacaConsole console) |
void |
setAlpacaOut(PrintStream out) |
void |
setCurrentLocation(Location currentLocation) |
void |
setRoot(Root root) |
public Root getRoot()
public void setRoot(Root root)
public Location getCurrentLocation()
public void setCurrentLocation(Location currentLocation)
public PrintStream getPrintStreamOut()
public boolean isDaemonized()
public AlpacaConsole getConsole()
public TaskManager getTaskManager()
public ConsoleEventSubscriber getConsoleEventSubscriber()
public jline.console.completer.AggregateCompleter getTabCompleter()
public void setAggregateCompleter(jline.console.completer.AggregateCompleter aggregateCompleter)
public void checkInit() throws co.ecg.alpaca.toolkit.exception.AlpacaException
co.ecg.alpaca.toolkit.exception.AlpacaException
public void initialize()
public void initializeForDaemon()
public void setAlpacaConsole(AlpacaConsole console)
public void setAlpacaOut(PrintStream out)
public int parseCommand(List<String> commands) throws co.ecg.alpaca.toolkit.exception.AlpacaException, IOException
commands
- The arraylist of commands.co.ecg.alpaca.toolkit.exception.AlpacaException
IOException
public void println(String s)
public void runCommandLineInterface()
Copyright © 2016. All rights reserved.