Class DefaultRunIdGenerator
- java.lang.Object
-
- fr.ens.biologie.genomique.aozan.aozan3.DefaultRunIdGenerator
-
- All Implemented Interfaces:
RunIdGenerator
public class DefaultRunIdGenerator extends Object implements RunIdGenerator
This class define the default implementation of the RunIsGenerator interface.- Since:
- 3.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description DefaultRunIdGenerator()
Constructor.DefaultRunIdGenerator(String expr)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunId
newRunId(RunId runId, Map<String,String> constants)
Create a new run id for the output of a processor.
-
-
-
Constructor Detail
-
DefaultRunIdGenerator
public DefaultRunIdGenerator()
Constructor.
-
DefaultRunIdGenerator
public DefaultRunIdGenerator(String expr)
Constructor.- Parameters:
expr
- expression to use to create the new run id
-
-
Method Detail
-
newRunId
public RunId newRunId(RunId runId, Map<String,String> constants) throws Aozan3Exception
Description copied from interface:RunIdGenerator
Create a new run id for the output of a processor.- Specified by:
newRunId
in interfaceRunIdGenerator
- Parameters:
runId
- the run idconstants
- constants used for new name creation- Returns:
- a String with the new name
- Throws:
Aozan3Exception
- if an error occurs while creating the new run Id
-
-