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 String
getHelpEoulsanCommand()
Get the command used to launch Eoulsan.protected Handler
getLogHandler(URI logFile)
Get the Handler to create the log file.protected void
initializeRuntime(Settings settings)
Initialize the Eoulsan runtime.protected org.apache.commons.cli.Options
makeOptions()
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:
makeOptions
in classMain
- Returns:
- an Options object
-
initializeRuntime
protected void initializeRuntime(Settings settings)
Description copied from class:Main
Initialize the Eoulsan runtime.- Specified by:
initializeRuntime
in classMain
-
getHelpEoulsanCommand
protected String getHelpEoulsanCommand()
Description copied from class:Main
Get the command used to launch Eoulsan.- Specified by:
getHelpEoulsanCommand
in classMain
- Returns:
- a String with the command used to launch Eoulsan
-
getLogHandler
protected Handler getLogHandler(URI logFile) throws IOException
Description copied from class:Main
Get the Handler to create the log file.- Specified by:
getLogHandler
in classMain
- Parameters:
logFile
- the path to the log file- Returns:
- a new Handler object
- Throws:
IOException
- if an exception occurs while creating the handler
-
-