Class MainCLI
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.Main
-
- fr.ens.biologie.genomique.eoulsan.MainCLI
-
public final class MainCLI extends Main
Main class in local mode.- Since:
- 1.0
- Author:
- Laurent Jourdren
-
-
Field Summary
-
Fields inherited from class fr.ens.biologie.genomique.eoulsan.Main
EOULSAN_CLASSPATH_JVM_ARG, EOULSAN_MEMORY, EOULSAN_PATH, EOULSAN_SCRIPT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetHelpEoulsanCommand()Get the command used to launch Eoulsan.protected HandlergetLogHandler(URI logFile)Get the Handler to create the log file.protected voidinitializeRuntime(Settings settings)Initialize the Eoulsan runtime.protected org.apache.commons.cli.OptionsmakeOptions()Create options for command line-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.Main
createLogFileAndFlushLog, createLogFiles, createOtherLog, flushLog, getAction, getActionArgs, getArgs, getClassPath, getCommandLineSettings, getConfigurationFileArgument, getEoulsanDirectory, getEoulsanMemory, getEoulsanScriptPath, getInstance, getJavaExecutablePath, getJVMArgs, getLaunchMode, getLaunchScriptPath, getLogFileArgument, getLogLevelArgument, help, main, sysInfoLog
-
-
-
-
Constructor Detail
-
MainCLI
protected MainCLI(String[] args)
Constructor.- Parameters:
args- command line arguments
-
-
Method Detail
-
makeOptions
protected org.apache.commons.cli.Options makeOptions()
Create options for command line- Overrides:
makeOptionsin classMain- Returns:
- an Options object
-
initializeRuntime
protected void initializeRuntime(Settings settings)
Description copied from class:MainInitialize the Eoulsan runtime.- Specified by:
initializeRuntimein classMain
-
getHelpEoulsanCommand
protected String getHelpEoulsanCommand()
Description copied from class:MainGet the command used to launch Eoulsan.- Specified by:
getHelpEoulsanCommandin classMain- Returns:
- a String with the command used to launch Eoulsan
-
getLogHandler
protected Handler getLogHandler(URI logFile) throws IOException
Description copied from class:MainGet the Handler to create the log file.- Specified by:
getLogHandlerin classMain- Parameters:
logFile- the path to the log file- Returns:
- a new Handler object
- Throws:
IOException- if an exception occurs while creating the handler
-
-