org.apache.sling.commons.scheduler
Interface JobContext


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-2009. All Rights Reserved.