org.apache.sling.commons.scheduler.impl
Class QuartzJobExecutor.JobContextImpl

java.lang.Object
  extended by org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.JobContextImpl
All Implemented Interfaces:
JobContext
Enclosing class:
QuartzJobExecutor

public static final class QuartzJobExecutor.JobContextImpl
extends Object
implements JobContext


Field Summary
protected  Map<String,Serializable> configuration
           
protected  String name
           
 
Constructor Summary
QuartzJobExecutor.JobContextImpl(String name, Map<String,Serializable> config)
           
 
Method Summary
 Map<String,Serializable> getConfiguration()
          Get the configuration provided when the job was scheduled.
 String getName()
          Get the name of the scheduled job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configuration

protected final Map<String,Serializable> configuration

name

protected final String name
Constructor Detail

QuartzJobExecutor.JobContextImpl

public QuartzJobExecutor.JobContextImpl(String name,
                                        Map<String,Serializable> config)
Method Detail

getConfiguration

public Map<String,Serializable> getConfiguration()
Description copied from interface: JobContext
Get the configuration provided when the job was scheduled.

Specified by:
getConfiguration in interface JobContext
Returns:
A non-null map of values.
See Also:
JobContext.getConfiguration()

getName

public String getName()
Description copied from interface: JobContext
Get the name of the scheduled job.

Specified by:
getName in interface JobContext
Returns:
The name of the job.
See Also:
JobContext.getName()


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