Class StepConfigurationContextImpl
java.lang.Object
fr.ens.biologie.genomique.eoulsan.core.workflow.StepConfigurationContextImpl
- All Implemented Interfaces:
StepConfigurationContext
This class define a concrete implementation of the configuration context of a step.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Method Summary
Modifier and TypeMethodDescriptionGet the command author.Get command description.Get the command name.Get the current step.Get the design file path.fr.ens.biologie.genomique.kenetre.log.GenericLoggerGet the generic logger.Get the Hadoop working directory.Get the application jar file.Get the job description.Get the job directory.Get the job environment.Get the host of the job.getJobId()Get the job id.Get the UUID of the job.Get local temporary directory.Get the local working directory.Get the logger.Get the output path.Get EoulsanRuntime.Get Eoulsan settings.Get the step working directory.Get the task output directory.Get the workflow file path.
-
Method Details
-
getLocalWorkingDirectory
Get the local working directory.- Returns:
- Returns the local working Path
-
getHadoopWorkingDirectory
Get the Hadoop working directory.- Returns:
- Returns the Hadoop working directory
-
getJobDirectory
Get the job directory.- Specified by:
getJobDirectoryin interfaceStepConfigurationContext- Returns:
- Returns the job directory
-
getTaskOutputDirectory
Get the task output directory.- Returns:
- Returns the task output directory
-
getOutputDirectory
Description copied from interface:StepConfigurationContextGet the output path.- Specified by:
getOutputDirectoryin interfaceStepConfigurationContext- Returns:
- Returns the output Path
-
getStepOutputDirectory
Description copied from interface:StepConfigurationContextGet the step working directory.- Specified by:
getStepOutputDirectoryin interfaceStepConfigurationContext- Returns:
- Returns the step working directory
-
getJobId
Description copied from interface:StepConfigurationContextGet the job id.- Specified by:
getJobIdin interfaceStepConfigurationContext- Returns:
- the job id
-
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
Description copied from interface:StepConfigurationContextGet the design file path.- Specified by:
getDesignFilein interfaceStepConfigurationContext- Returns:
- the design file path
-
getWorkflowFile
Description copied from interface:StepConfigurationContextGet the workflow file path.- Specified by:
getWorkflowFilein interfaceStepConfigurationContext- Returns:
- the workflow file path
-
getJarPathname
Get the application jar file.- Returns:
- Returns the jar file
-
getJobUUID
Description copied from interface:StepConfigurationContextGet the UUID of the job.- Specified by:
getJobUUIDin interfaceStepConfigurationContext- Returns:
- the job UUID
-
getJobDescription
Description copied from interface:StepConfigurationContextGet the job description.- Specified by:
getJobDescriptionin interfaceStepConfigurationContext- Returns:
- the job description
-
getJobEnvironment
Description copied from interface:StepConfigurationContextGet the job environment.- Specified by:
getJobEnvironmentin interfaceStepConfigurationContext- Returns:
- the job environment
-
getCommandName
Description copied from interface:StepConfigurationContextGet the command name.- Specified by:
getCommandNamein interfaceStepConfigurationContext- Returns:
- the command name
-
getCommandDescription
Description copied from interface:StepConfigurationContextGet command description.- Specified by:
getCommandDescriptionin interfaceStepConfigurationContext- Returns:
- the command description
-
getCommandAuthor
Description copied from interface:StepConfigurationContextGet the command author.- Specified by:
getCommandAuthorin interfaceStepConfigurationContext- Returns:
- the command author
-
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
Description copied from interface:StepConfigurationContextGet EoulsanRuntime.- Specified by:
getRuntimein interfaceStepConfigurationContext- Returns:
- the EoulsanRuntime
-
getSettings
Description copied from interface:StepConfigurationContextGet Eoulsan settings.- Specified by:
getSettingsin interfaceStepConfigurationContext- Returns:
- the Settings
-
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
Description copied from interface:StepConfigurationContextGet local temporary directory.- Specified by:
getLocalTempDirectoryin interfaceStepConfigurationContext- Returns:
- the local temporary directory
-