Class StepConfigurationContextImpl
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.core.workflow.StepConfigurationContextImpl
-
- All Implemented Interfaces:
StepConfigurationContext
public class StepConfigurationContextImpl extends Object implements StepConfigurationContext
This class define a concrete implementation of the configuration context of a step.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommandAuthor()Get the command author.StringgetCommandDescription()Get command description.StringgetCommandName()Get the command name.StepgetCurrentStep()Get the current step.DataFilegetDesignFile()Get the design file path.fr.ens.biologie.genomique.kenetre.log.GenericLoggergetGenericLogger()Get the generic logger.DataFilegetHadoopWorkingDirectory()Get the Hadoop working directory.DataFilegetJarPathname()Get the application jar file.StringgetJobDescription()Get the job description.DataFilegetJobDirectory()Get the job directory.StringgetJobEnvironment()Get the job environment.StringgetJobHost()Get the host of the job.StringgetJobId()Get the job id.StringgetJobUUID()Get the UUID of the job.FilegetLocalTempDirectory()Get local temporary directory.DataFilegetLocalWorkingDirectory()Get the local working directory.LoggergetLogger()Get the logger.DataFilegetOutputDirectory()Get the output path.AbstractEoulsanRuntimegetRuntime()Get EoulsanRuntime.SettingsgetSettings()Get Eoulsan settings.DataFilegetStepOutputDirectory()Get the step working directory.DataFilegetTaskOutputDirectory()Get the task output directory.DataFilegetWorkflowFile()Get the workflow file path.
-
-
-
Method Detail
-
getLocalWorkingDirectory
public DataFile getLocalWorkingDirectory()
Get the local working directory.- Returns:
- Returns the local working Path
-
getHadoopWorkingDirectory
public DataFile getHadoopWorkingDirectory()
Get the Hadoop working directory.- Returns:
- Returns the Hadoop working directory
-
getJobDirectory
public DataFile getJobDirectory()
Get the job directory.- Specified by:
getJobDirectoryin interfaceStepConfigurationContext- Returns:
- Returns the job directory
-
getTaskOutputDirectory
public DataFile getTaskOutputDirectory()
Get the task output directory.- Returns:
- Returns the task output directory
-
getOutputDirectory
public DataFile getOutputDirectory()
Description copied from interface:StepConfigurationContextGet the output path.- Specified by:
getOutputDirectoryin interfaceStepConfigurationContext- Returns:
- Returns the output Path
-
getStepOutputDirectory
public DataFile getStepOutputDirectory()
Description copied from interface:StepConfigurationContextGet the step working directory.- Specified by:
getStepOutputDirectoryin interfaceStepConfigurationContext- Returns:
- Returns the step working directory
-
getJobId
public String getJobId()
Description copied from interface:StepConfigurationContextGet the job id.- Specified by:
getJobIdin interfaceStepConfigurationContext- Returns:
- the job id
-
getJobHost
public String getJobHost()
Description copied from interface:StepConfigurationContextGet the host of the job.- Specified by:
getJobHostin interfaceStepConfigurationContext- Returns:
- a string with the host of the job
-
getDesignFile
public DataFile getDesignFile()
Description copied from interface:StepConfigurationContextGet the design file path.- Specified by:
getDesignFilein interfaceStepConfigurationContext- Returns:
- the design file path
-
getWorkflowFile
public DataFile getWorkflowFile()
Description copied from interface:StepConfigurationContextGet the workflow file path.- Specified by:
getWorkflowFilein interfaceStepConfigurationContext- Returns:
- the workflow file path
-
getJarPathname
public DataFile getJarPathname()
Get the application jar file.- Returns:
- Returns the jar file
-
getJobUUID
public String getJobUUID()
Description copied from interface:StepConfigurationContextGet the UUID of the job.- Specified by:
getJobUUIDin interfaceStepConfigurationContext- Returns:
- the job UUID
-
getJobDescription
public String getJobDescription()
Description copied from interface:StepConfigurationContextGet the job description.- Specified by:
getJobDescriptionin interfaceStepConfigurationContext- Returns:
- the job description
-
getJobEnvironment
public String getJobEnvironment()
Description copied from interface:StepConfigurationContextGet the job environment.- Specified by:
getJobEnvironmentin interfaceStepConfigurationContext- Returns:
- the job environment
-
getCommandName
public String getCommandName()
Description copied from interface:StepConfigurationContextGet the command name.- Specified by:
getCommandNamein interfaceStepConfigurationContext- Returns:
- the command name
-
getCommandDescription
public String getCommandDescription()
Description copied from interface:StepConfigurationContextGet command description.- Specified by:
getCommandDescriptionin interfaceStepConfigurationContext- Returns:
- the command description
-
getCommandAuthor
public String getCommandAuthor()
Description copied from interface:StepConfigurationContextGet the command author.- Specified by:
getCommandAuthorin interfaceStepConfigurationContext- Returns:
- the command author
-
getCurrentStep
public Step getCurrentStep()
Description copied from interface:StepConfigurationContextGet the current step.- Specified by:
getCurrentStepin interfaceStepConfigurationContext- Returns:
- the current Step or null if no Step is currently running.
-
getRuntime
public AbstractEoulsanRuntime getRuntime()
Description copied from interface:StepConfigurationContextGet EoulsanRuntime.- Specified by:
getRuntimein interfaceStepConfigurationContext- Returns:
- the EoulsanRuntime
-
getSettings
public Settings getSettings()
Description copied from interface:StepConfigurationContextGet Eoulsan settings.- Specified by:
getSettingsin interfaceStepConfigurationContext- Returns:
- the Settings
-
getLogger
public Logger getLogger()
Description copied from interface:StepConfigurationContextGet the logger.- Specified by:
getLoggerin interfaceStepConfigurationContext- Returns:
- the logger
-
getGenericLogger
public fr.ens.biologie.genomique.kenetre.log.GenericLogger getGenericLogger()
Description copied from interface:StepConfigurationContextGet the generic logger.- Specified by:
getGenericLoggerin interfaceStepConfigurationContext- Returns:
- the generic logger
-
getLocalTempDirectory
public File getLocalTempDirectory()
Description copied from interface:StepConfigurationContextGet local temporary directory.- Specified by:
getLocalTempDirectoryin interfaceStepConfigurationContext- Returns:
- the local temporary directory
-
-