org.apache.sling.commons.scheduler.impl
Class QuartzJobExecutor.JobContextImpl
java.lang.Object
org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.JobContextImpl
- All Implemented Interfaces:
- JobContext
- Enclosing class:
- QuartzJobExecutor
public static final class QuartzJobExecutor.JobContextImpl
- extends java.lang.Object
- implements JobContext
Field Summary |
protected java.util.Map<java.lang.String,java.io.Serializable> |
configuration
|
protected java.lang.String |
name
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configuration
protected final java.util.Map<java.lang.String,java.io.Serializable> configuration
name
protected final java.lang.String name
QuartzJobExecutor.JobContextImpl
public QuartzJobExecutor.JobContextImpl(java.lang.String name,
java.util.Map<java.lang.String,java.io.Serializable> config)
getConfiguration
public java.util.Map<java.lang.String,java.io.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 java.lang.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-2012 The Apache Software Foundation. All Rights Reserved.