|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.engines.talend.runtime.RuntimeRepository
public class RuntimeRepository
Constructor Summary | |
---|---|
RuntimeRepository(java.io.File rootDir)
Instantiates a new runtime repository. |
Method Summary | |
---|---|
boolean |
containsJob(Job job)
Contains job. |
void |
deployJob(JobDeploymentDescriptor jobDeploymentDescriptor,
java.util.zip.ZipFile executableJobFiles)
Deploy job. |
java.io.File |
getExecutableJobDir(Job job)
Gets the executable job dir. |
java.io.File |
getExecutableJobFile(Job job)
Gets the executable job file. |
java.io.File |
getExecutableJobProjectDir(Job job)
Gets the executable job project dir. |
IJobRunner |
getJobRunner(java.lang.String jobLanguage)
Gets the job runner. |
java.io.File |
getRootDir()
Gets the root dir. |
static void |
main(java.lang.String[] args)
The main method. |
void |
runJob(Job job,
java.util.Map env)
Run job. |
void |
setRootDir(java.io.File rootDir)
Sets the root dir. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuntimeRepository(java.io.File rootDir)
rootDir
- the root dirMethod Detail |
---|
public void deployJob(JobDeploymentDescriptor jobDeploymentDescriptor, java.util.zip.ZipFile executableJobFiles)
jobDeploymentDescriptor
- the job deployment descriptorexecutableJobFiles
- the executable job filespublic void runJob(Job job, java.util.Map env) throws JobNotFoundException, ContextNotFoundException, JobExecutionException
job
- the jobenv
- the environment
JobNotFoundException
- the job not found exception
ContextNotFoundException
- the context not found exception
JobExecutionException
- the job execution exceptionpublic IJobRunner getJobRunner(java.lang.String jobLanguage)
jobLanguage
- the job language
public java.io.File getRootDir()
public void setRootDir(java.io.File rootDir)
rootDir
- the new root dirpublic java.io.File getExecutableJobProjectDir(Job job)
job
- the job
public java.io.File getExecutableJobDir(Job job)
job
- the job
public java.io.File getExecutableJobFile(Job job)
job
- the job
public boolean containsJob(Job job)
job
- the job
public static void main(java.lang.String[] args) throws java.util.zip.ZipException, java.io.IOException
args
- the arguments
java.util.zip.ZipException
- the zip exception
java.io.IOException
- Signals that an I/O exception has occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |