it.eng.spagobi.engines.talend.runtime
Class JavaJobRunner
java.lang.Object
it.eng.spagobi.engines.talend.runtime.JavaJobRunner
- All Implemented Interfaces:
- IJobRunner
public class JavaJobRunner
- extends java.lang.Object
- implements IJobRunner
- Author:
- Andrea Gioia
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CONTEXT
public static final java.lang.String DEFAULT_CONTEXT
- See Also:
- Constant Field Values
DEFAULT_XMS_VALUE
public static final java.lang.String DEFAULT_XMS_VALUE
- See Also:
- Constant Field Values
DEFAULT_XMX_VALUE
public static final java.lang.String DEFAULT_XMX_VALUE
- See Also:
- Constant Field Values
run
public void run(Job job,
java.util.Map parameters)
throws JobNotFoundException,
ContextNotFoundException,
JobExecutionException
- Description copied from interface:
IJobRunner
- Run.
- Specified by:
run
in interface IJobRunner
- Parameters:
job
- the job
- Throws:
JobNotFoundException
- the job not found exception
ContextNotFoundException
- the context not found exception
JobExecutionException
- the job execution exception
initContexts
public void initContexts(Job job,
java.util.Map parameters,
java.io.File destDir)
getTempDir
public java.io.File getTempDir(Job job)
instantiateContext
public java.lang.String instantiateContext(Job job,
java.util.Map parameters)
throws ContextNotFoundException,
java.io.IOException
- Throws:
ContextNotFoundException
java.io.IOException
getContext
public java.util.Properties getContext(Job job)
- Gets the context.
- Parameters:
job
- the job
- Returns:
- the context