|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxsmeral.semnet.manager.JobRunner
public class JobRunner
Executor of processing jobs.
ProcessingJob
Constructor Summary | |
---|---|
JobRunner(ProcessingJob job,
String workingDir)
Creates an instance for the specified job and working directory. |
Method Summary | |
---|---|
ProcessingJob |
getJob()
Returns the supplied processing job. |
xsmeral.pipe.Pipe |
getPipe()
Returns the Pipe created from processors in the supplied job. |
static void |
main(String[] args)
Executes the supplied job. |
void |
run()
Starts the Pipe and waits for it to stop. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobRunner(ProcessingJob job, String workingDir) throws ConfigurationException
job
- The processing job to executeworkingDir
- The working directory for the processors. All files are
resolved against it.
ConfigurationException
Runtime.addShutdownHook(java.lang.Thread)
Method Detail |
---|
public void run() throws xsmeral.pipe.ObjectProcessorException
xsmeral.pipe.ObjectProcessorException
- If the pipe can't start.public ProcessingJob getJob()
public xsmeral.pipe.Pipe getPipe()
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |