Save This Page
Home » quartz-1.6.0 » org » quartz » jobs » [javadoc | source]
org.quartz.jobs
public class: NativeJob [javadoc | source]
java.lang.Object
   org.quartz.jobs.NativeJob

All Implemented Interfaces:
    Job

Nested Class Summary:
class  NativeJob.StreamConsumer  Consumes data from the given input stream until EOF and prints the data to stdout 
Field Summary
public static final  String PROP_COMMAND    Required parameter that specifies the name of the command (executable) to be ran. 
public static final  String PROP_PARAMETERS    Optional parameter that specifies the parameters to be passed to the executed command. 
public static final  String PROP_WAIT_FOR_PROCESS    Optional parameter (value should be 'true' or 'false') that specifies whether the job should wait for the execution of the native process to complete before it completes.

Defaults to true.

 
public static final  String PROP_CONSUME_STREAMS    Optional parameter (value should be 'true' or 'false') that specifies whether the spawned process's stdout and stderr streams should be consumed. If the process creates output, it is possible that it might 'hang' if the streams are not consumed.

Defaults to false.

 
Method from org.quartz.jobs.NativeJob Summary:
execute,   getLog
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.jobs.NativeJob Detail:
 public  void execute(JobExecutionContext context) throws JobExecutionException 
 protected Log getLog()