Interface TaskContext
- All Superinterfaces:
StepConfigurationContext
- All Known Implementing Classes:
TaskContextImpl
This interface define the context of a step.
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
Method Summary
Modifier and TypeMethodDescriptionlongGet the creation time of the context.Get the context name.getInputData(DataFormat format) Get the input data for an input DataType and a Sample.getInputData(String portName) Get the input data for a port name and a Sample.getOutputData(DataFormat format, Data origin) Get the output data for an input DataType and a Sample.getOutputData(DataFormat format, String dataName) Get the output data for an input DataType and a Sample.getOutputData(DataFormat format, String dataName, int part) Get the output data for an input DataType and a Sample.getOutputData(String portName, Data origin) Get the output data for a port name and a Sample.getOutputData(String portName, String dataName) Get the output data for a port name and a Sample.getOutputData(String portName, String dataName, int part) Get the output data for a port name and a Sample.Get the workflow descriptionvoidsetContextName(String contextName) Set the context name.Methods inherited from interface fr.ens.biologie.genomique.eoulsan.core.StepConfigurationContext
getCommandAuthor, getCommandDescription, getCommandName, getCurrentStep, getDesignFile, getGenericLogger, getJobDescription, getJobDirectory, getJobEnvironment, getJobHost, getJobId, getJobUUID, getLocalTempDirectory, getLogger, getOutputDirectory, getRuntime, getSettings, getStepOutputDirectory, getWorkflowFile
-
Method Details
-
getContextName
String getContextName()Get the context name.- Returns:
- a String with the context name
-
setContextName
Set the context name.- Parameters:
contextName- the name of the context
-
getContextCreationTime
long getContextCreationTime()Get the creation time of the context.- Returns:
- the creation time of the context in milliseconds since epoch (1.1.1970)
-
getWorkflow
Workflow getWorkflow()Get the workflow description- Returns:
- the workflow description
-
getInputData
Get the input data for an input DataType and a Sample.- Parameters:
format- the DataFormat of the source- Returns:
- a String with the pathname
-
getInputData
Get the input data for a port name and a Sample.- Parameters:
portName- the name of the port- Returns:
- a String with the pathname
-
getOutputData
Get the output data for an input DataType and a Sample.- Parameters:
format- the DataFormat of the sourcedataName- the name of the data- Returns:
- a String with the pathname
-
getOutputData
Get the output data for an input DataType and a Sample.- Parameters:
format- the DataFormat of the sourcedataName- the name of the datapart- data part- Returns:
- a String with the pathname
-
getOutputData
Get the output data for an input DataType and a Sample.- Parameters:
format- the DataFormat of the sourceorigin- origin of the new data- Returns:
- a String with the pathname
-
getOutputData
Get the output data for a port name and a Sample.- Parameters:
portName- the name of the portdataName- the name of the data- Returns:
- a String with the pathname
-
getOutputData
Get the output data for a port name and a Sample.- Parameters:
portName- the name of the portdataName- the name of the datapart- data part- Returns:
- a String with the pathname
-
getOutputData
Get the output data for a port name and a Sample.- Parameters:
portName- the name of the portorigin- origin of the new data- Returns:
- a String with the pathname
-