org.apache.sling.commons.scheduler
Interface JobContext

All Known Implementing Classes:
QuartzJobExecutor.JobContextImpl

public interface JobContext

The context for a Job.


Method Summary
 java.util.Map<java.lang.String,java.io.Serializable> getConfiguration()
          Get the configuration provided when the job was scheduled.
 java.lang.String getName()
          Get the name of the scheduled job.
 

Method Detail

getName

java.lang.String getName()
Get the name of the scheduled job.

Returns:
The name of the job.

getConfiguration

java.util.Map<java.lang.String,java.io.Serializable> getConfiguration()
Get the configuration provided when the job was scheduled.

Returns:
A non-null map of values.


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.