Package com.redwood.scheduler.api.job
Interface UserJob
- 
 public interface UserJobA user defined job.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(UserJobContext jobContext)Execute the job with the specified job context.
 
- 
- 
- 
Method Detail- 
executevoid execute(UserJobContext jobContext) throws Exception Execute the job with the specified job context. If this method returns then the job status is set to:- Completed - if the return code is zero.
- Error - if the return code is non-zero.
 - Parameters:
- jobContext- the job context.
- Throws:
- Exception- if an error occurs.
 
 
- 
 
-