Class ContextUtils
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.core.ContextUtils
-
public final class ContextUtils extends Object
This class define utility methods on Context.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataFile
getHadoopWorkingDirectory(TaskContext context)
Get the Hadoop working directory.static DataFile
getJarPathname(TaskContext context)
Get the application jar file.static DataFile
getJobDirectory(TaskContext context)
Get the job directory.static DataFile
getLocalWorkingDirectory(TaskContext context)
Get the local working directory.static DataFile
getTaskOutputDirectory(TaskContext context)
Get the task output directory.
-
-
-
Method Detail
-
getJobDirectory
public static DataFile getJobDirectory(TaskContext context)
Get the job directory.- Returns:
- Returns the job directory
-
getJarPathname
public static DataFile getJarPathname(TaskContext context)
Get the application jar file.- Returns:
- Returns the jar file
-
getLocalWorkingDirectory
public static DataFile getLocalWorkingDirectory(TaskContext context)
Get the local working directory.- Returns:
- Returns the local working directory
-
getHadoopWorkingDirectory
public static DataFile getHadoopWorkingDirectory(TaskContext context)
Get the Hadoop working directory.- Returns:
- Returns the Hadoop working directory
-
getTaskOutputDirectory
public static DataFile getTaskOutputDirectory(TaskContext context)
Get the task output directory.- Returns:
- Returns the task output directory
-
-