Home » quartz-1.6.0 » org » quartz » [javadoc | source]
org.quartz
public class: JobDataMap [javadoc | source]
java.lang.Object
   org.quartz.utils.DirtyFlagMap
      org.quartz.utils.StringKeyDirtyFlagMap
         org.quartz.JobDataMap

All Implemented Interfaces:
    Serializable, Cloneable, Map

Holds state information for Job instances.

JobDataMap instances are stored once when the Job is added to a scheduler. They are also re-persisted after every execution of StatefulJob instances.

JobDataMap instances can also be stored with a Trigger. This can be useful in the case where you have a Job that is stored in the scheduler for regular/repeated use by multiple Triggers, yet with each independent triggering, you want to supply the Job with different data inputs.

The JobExecutionContext passed to a Job at execution time also contains a convenience JobDataMap that is the result of merging the contents of the trigger's JobDataMap (if any) over the Job's JobDataMap (if any).

Fields inherited from org.quartz.utils.StringKeyDirtyFlagMap:
serialVersionUID
Constructor:
 public JobDataMap() 
 public JobDataMap(Map map) 

    Create a JobDataMap with the given data.

Method from org.quartz.JobDataMap Summary:
getBooleanFromString,   getBooleanValue,   getBooleanValueFromString,   getCharFromString,   getCharacterFromString,   getDoubleFromString,   getDoubleValue,   getDoubleValueFromString,   getFloatFromString,   getFloatValue,   getFloatValueFromString,   getIntFromString,   getIntValue,   getIntegerFromString,   getLongFromString,   getLongValue,   getLongValueFromString,   putAsString,   putAsString,   putAsString,   putAsString,   putAsString,   putAsString,   putAsString,   putAsString,   putAsString,   putAsString,   putAsString,   putAsString
Methods from org.quartz.utils.StringKeyDirtyFlagMap:
containsTransientData,   getAllowsTransientData,   getBoolean,   getChar,   getDouble,   getFloat,   getInt,   getKeys,   getLong,   getString,   put,   put,   put,   put,   put,   put,   put,   put,   putAll,   removeTransientData,   setAllowsTransientData
Methods from org.quartz.utils.DirtyFlagMap:
clear,   clearDirtyFlag,   clone,   containsKey,   containsValue,   entrySet,   equals,   get,   getWrappedMap,   isDirty,   isEmpty,   keySet,   put,   putAll,   remove,   size,   values
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.JobDataMap Detail:
 public Boolean getBooleanFromString(String key) 

    Retrieve the identified Boolean value from the JobDataMap.

 public boolean getBooleanValue(String key) 

    Retrieve the identified boolean value from the JobDataMap.

 public boolean getBooleanValueFromString(String key) 

    Retrieve the identified boolean value from the JobDataMap.

 public char getCharFromString(String key) 

    Retrieve the identified char value from the JobDataMap.

 public Character getCharacterFromString(String key) 

    Retrieve the identified Character value from the JobDataMap.

 public Double getDoubleFromString(String key) 

    Retrieve the identified Double value from the JobDataMap.

 public double getDoubleValue(String key) 

    Retrieve the identified double value from the JobDataMap.

 public double getDoubleValueFromString(String key) 

    Retrieve the identified double value from the JobDataMap.

 public Float getFloatFromString(String key) 

    Retrieve the identified Float value from the JobDataMap.

 public float getFloatValue(String key) 

    Retrieve the identified float value from the JobDataMap.

 public float getFloatValueFromString(String key) 

    Retrieve the identified float value from the JobDataMap.

 public int getIntFromString(String key) 

    Retrieve the identified int value from the JobDataMap.

 public long getIntValue(String key) 

    Retrieve the identified int value from the JobDataMap.

 public Integer getIntegerFromString(String key) 

    Retrieve the identified int value from the JobDataMap.

 public Long getLongFromString(String key) 

    Retrieve the identified Long value from the JobDataMap.

 public long getLongValue(String key) 

    Retrieve the identified long value from the JobDataMap.

 public long getLongValueFromString(String key) 

    Retrieve the identified long value from the JobDataMap.

 public  void putAsString(String key,
    boolean value) 

    Adds the given boolean value as a string version to the Job's data map.

 public  void putAsString(String key,
    Boolean value) 

    Adds the given Boolean value as a string version to the Job's data map.

 public  void putAsString(String key,
    char value) 

    Adds the given char value as a string version to the Job's data map.

 public  void putAsString(String key,
    Character value) 

    Adds the given Character value as a string version to the Job's data map.

 public  void putAsString(String key,
    double value) 

    Adds the given double value as a string version to the Job's data map.

 public  void putAsString(String key,
    Double value) 

    Adds the given Double value as a string version to the Job's data map.

 public  void putAsString(String key,
    float value) 

    Adds the given float value as a string version to the Job's data map.

 public  void putAsString(String key,
    Float value) 

    Adds the given Float value as a string version to the Job's data map.

 public  void putAsString(String key,
    int value) 

    Adds the given int value as a string version to the Job's data map.

 public  void putAsString(String key,
    Integer value) 

    Adds the given Integer value as a string version to the Job's data map.

 public  void putAsString(String key,
    long value) 

    Adds the given long value as a string version to the Job's data map.

 public  void putAsString(String key,
    Long value) 

    Adds the given Long value as a string version to the Job's data map.