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 SummaryAll 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- 
getLocalWorkingDirectorypublic DataFile getLocalWorkingDirectory() Get the local working directory.- Returns:
- Returns the local working Path
 
 - 
getHadoopWorkingDirectorypublic DataFile getHadoopWorkingDirectory() Get the Hadoop working directory.- Returns:
- Returns the Hadoop working directory
 
 - 
getJobDirectorypublic DataFile getJobDirectory() Get the job directory.- Specified by:
- getJobDirectoryin interface- StepConfigurationContext
- Returns:
- Returns the job directory
 
 - 
getTaskOutputDirectorypublic DataFile getTaskOutputDirectory() Get the task output directory.- Returns:
- Returns the task output directory
 
 - 
getOutputDirectorypublic DataFile getOutputDirectory() Description copied from interface:StepConfigurationContextGet the output path.- Specified by:
- getOutputDirectoryin interface- StepConfigurationContext
- Returns:
- Returns the output Path
 
 - 
getStepOutputDirectorypublic DataFile getStepOutputDirectory() Description copied from interface:StepConfigurationContextGet the step working directory.- Specified by:
- getStepOutputDirectoryin interface- StepConfigurationContext
- Returns:
- Returns the step working directory
 
 - 
getJobIdpublic String getJobId() Description copied from interface:StepConfigurationContextGet the job id.- Specified by:
- getJobIdin interface- StepConfigurationContext
- Returns:
- the job id
 
 - 
getJobHostpublic String getJobHost() Description copied from interface:StepConfigurationContextGet the host of the job.- Specified by:
- getJobHostin interface- StepConfigurationContext
- Returns:
- a string with the host of the job
 
 - 
getDesignFilepublic DataFile getDesignFile() Description copied from interface:StepConfigurationContextGet the design file path.- Specified by:
- getDesignFilein interface- StepConfigurationContext
- Returns:
- the design file path
 
 - 
getWorkflowFilepublic DataFile getWorkflowFile() Description copied from interface:StepConfigurationContextGet the workflow file path.- Specified by:
- getWorkflowFilein interface- StepConfigurationContext
- Returns:
- the workflow file path
 
 - 
getJarPathnamepublic DataFile getJarPathname() Get the application jar file.- Returns:
- Returns the jar file
 
 - 
getJobUUIDpublic String getJobUUID() Description copied from interface:StepConfigurationContextGet the UUID of the job.- Specified by:
- getJobUUIDin interface- StepConfigurationContext
- Returns:
- the job UUID
 
 - 
getJobDescriptionpublic String getJobDescription() Description copied from interface:StepConfigurationContextGet the job description.- Specified by:
- getJobDescriptionin interface- StepConfigurationContext
- Returns:
- the job description
 
 - 
getJobEnvironmentpublic String getJobEnvironment() Description copied from interface:StepConfigurationContextGet the job environment.- Specified by:
- getJobEnvironmentin interface- StepConfigurationContext
- Returns:
- the job environment
 
 - 
getCommandNamepublic String getCommandName() Description copied from interface:StepConfigurationContextGet the command name.- Specified by:
- getCommandNamein interface- StepConfigurationContext
- Returns:
- the command name
 
 - 
getCommandDescriptionpublic String getCommandDescription() Description copied from interface:StepConfigurationContextGet command description.- Specified by:
- getCommandDescriptionin interface- StepConfigurationContext
- Returns:
- the command description
 
 - 
getCommandAuthorpublic String getCommandAuthor() Description copied from interface:StepConfigurationContextGet the command author.- Specified by:
- getCommandAuthorin interface- StepConfigurationContext
- Returns:
- the command author
 
 - 
getCurrentSteppublic Step getCurrentStep() Description copied from interface:StepConfigurationContextGet the current step.- Specified by:
- getCurrentStepin interface- StepConfigurationContext
- Returns:
- the current Step or null if no Step is currently running.
 
 - 
getRuntimepublic AbstractEoulsanRuntime getRuntime() Description copied from interface:StepConfigurationContextGet EoulsanRuntime.- Specified by:
- getRuntimein interface- StepConfigurationContext
- Returns:
- the EoulsanRuntime
 
 - 
getSettingspublic Settings getSettings() Description copied from interface:StepConfigurationContextGet Eoulsan settings.- Specified by:
- getSettingsin interface- StepConfigurationContext
- Returns:
- the Settings
 
 - 
getLoggerpublic Logger getLogger() Description copied from interface:StepConfigurationContextGet the logger.- Specified by:
- getLoggerin interface- StepConfigurationContext
- Returns:
- the logger
 
 - 
getGenericLoggerpublic fr.ens.biologie.genomique.kenetre.log.GenericLogger getGenericLogger() Description copied from interface:StepConfigurationContextGet the generic logger.- Specified by:
- getGenericLoggerin interface- StepConfigurationContext
- Returns:
- the generic logger
 
 - 
getLocalTempDirectorypublic File getLocalTempDirectory() Description copied from interface:StepConfigurationContextGet local temporary directory.- Specified by:
- getLocalTempDirectoryin interface- StepConfigurationContext
- Returns:
- the local temporary directory
 
 
- 
 
-