|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.app.Starter
org.foray.app.CommandLineStarter
public class CommandLineStarter
Superclass for all classes which start FOray from the commandline.
Constructor Summary | |
---|---|
CommandLineStarter(SessionConfig sessionConfig,
OutputConfig outputConfig,
CommandLineOptions commandLineOptions)
Constructor. |
Method Summary | |
---|---|
CommandLineOptions |
getCommandLineOptions()
Returns the parsed command-line options. |
InputSource |
getInputSource()
Returns the input source. |
void |
run()
Runs the process. |
Methods inherited from class org.foray.app.Starter |
---|
getLogger, getOptions, getOutputConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandLineStarter(SessionConfig sessionConfig, OutputConfig outputConfig, CommandLineOptions commandLineOptions) throws FOrayException
sessionConfig
- The session configuration.outputConfig
- The output configuratiion.commandLineOptions
- The command-line options.
FOrayException
- For errors during construction.Method Detail |
---|
public void run() throws FOrayException
Starter
run
in class Starter
FOrayException
- For errors during processing.public CommandLineOptions getCommandLineOptions()
public InputSource getInputSource() throws FOrayException
Starter
getInputSource
in class Starter
FOrayException
- For errors creaing the input source.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |