Class PCSCaseStudyCLI
- java.lang.Object
-
- edu.kit.kastel.dsis.fluidtrust.casestudy.pcs.application.cli.PCSCaseStudyCLI
-
- All Implemented Interfaces:
IApplication
public class PCSCaseStudyCLI extends Object implements IApplication
-
-
Field Summary
-
Fields inherited from interface org.eclipse.equinox.app.IApplication
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART
-
-
Constructor Summary
Constructors Constructor Description PCSCaseStudyCLI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Callable<Integer>
createHelpAction(org.apache.commons.cli.Options options, PrintStream ps)
protected Callable<Integer>
createHelpAction(org.apache.commons.cli.Options options, PrintStream ps, String customMessage)
protected Callable<Integer>
createRunAction(File scenarioFolder, File resultFile, Optional<String> scenario, String[] variables)
protected void
printHelp(org.apache.commons.cli.Options options, PrintStream ps)
Object
start(IApplicationContext context)
void
stop()
-
-
-
Method Detail
-
start
public Object start(IApplicationContext context) throws Exception
- Specified by:
start
in interfaceIApplication
- Throws:
Exception
-
createHelpAction
protected Callable<Integer> createHelpAction(org.apache.commons.cli.Options options, PrintStream ps)
-
createHelpAction
protected Callable<Integer> createHelpAction(org.apache.commons.cli.Options options, PrintStream ps, String customMessage)
-
printHelp
protected void printHelp(org.apache.commons.cli.Options options, PrintStream ps)
-
createRunAction
protected Callable<Integer> createRunAction(File scenarioFolder, File resultFile, Optional<String> scenario, String[] variables)
-
stop
public void stop()
- Specified by:
stop
in interfaceIApplication
-
-