org.apache.sling.commons.scheduler
Interface Job
public interface Job
A job is executed by the Scheduler
service.
If the implementation of the job requires certain environment information
it can implement this interface to get additional information
through the provided JobContext
.
If no additional information is required, implementing Runnable
is
sufficient.
execute
void execute(JobContext context)
- Execute this job.
- Parameters:
context
- The context of the job.
Copyright © 2007-2009. All Rights Reserved.