public class StaxJobFactory extends JobFactory
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
logger |
static String |
MSG_UNABLE_TO_INSTANCIATE_JOB_VALIDATION_FACTORIES |
ARCHIVE_DEFAULT_XMLFILE, ARCHIVE_MANIFEST_DIRECTORY, ARCHIVE_MANIFEST_FILE, ARCHIVE_MANIFEST_PROPERTY_XMLFILE, JOBFACTORY_TMPDIR_PROPERTY
Modifier and Type | Method and Description |
---|---|
Job |
createJob(InputStream workflowStream) |
Job |
createJob(InputStream workflowStream,
Map<String,String> replacementVariables,
Map<String,String> replacementGenericInfos) |
Job |
createJob(String filePath)
Creates a job using the given job descriptor.
|
Job |
createJob(String filePath,
Map<String,String> replacementVariables,
Map<String,String> replacementGenericInfos)
Creates a job using the given job descriptor.
|
Job |
createJob(URI filePath)
Creates a job using the given job descriptor.
|
Job |
createJob(URI filePath,
Map<String,String> replacementVariables,
Map<String,String> replacementGenericInfos)
Creates a job using the given job descriptor.
|
protected Map<String,JobVariable> |
replaceVariablesInJobVariablesMap(Map<String,JobVariable> variablesMap,
Map<String,String> replacementVariables) |
getFactory, getFactory
public static final org.apache.log4j.Logger logger
public static final String MSG_UNABLE_TO_INSTANCIATE_JOB_VALIDATION_FACTORIES
public Job createJob(String filePath) throws JobCreationException
JobFactory
createJob
in class JobFactory
filePath
- the path to an XML job descriptor.JobCreationException
- if an exception occurred during job creation.public Job createJob(String filePath, Map<String,String> replacementVariables, Map<String,String> replacementGenericInfos) throws JobCreationException
JobFactory
createJob
in class JobFactory
filePath
- the path to an XML job descriptor.replacementVariables
- map of job submission variablesreplacementGenericInfos
- map of job submission generic infosJobCreationException
- if an exception occurred during job creation.public Job createJob(URI filePath) throws JobCreationException
JobFactory
createJob
in class JobFactory
filePath
- the path to an XML job descriptor.JobCreationException
- if an exception occurred during job creation.public Job createJob(URI filePath, Map<String,String> replacementVariables, Map<String,String> replacementGenericInfos) throws JobCreationException
JobFactory
createJob
in class JobFactory
filePath
- the path to an XML job descriptor.replacementVariables
- map of job submission variablesreplacementGenericInfos
- map of job submission generic infosJobCreationException
- if an exception occurred during job creation.public Job createJob(InputStream workflowStream) throws JobCreationException
createJob
in class JobFactory
JobCreationException
JobFactory.createJob(String)
public Job createJob(InputStream workflowStream, Map<String,String> replacementVariables, Map<String,String> replacementGenericInfos) throws JobCreationException
createJob
in class JobFactory
JobCreationException
protected Map<String,JobVariable> replaceVariablesInJobVariablesMap(Map<String,JobVariable> variablesMap, Map<String,String> replacementVariables) throws JobCreationException
JobCreationException