Quartz.UtilDirtyFlagMapString, Object
Quartz.UtilStringKeyDirtyFlagMap
QuartzJobDataMap
Namespace: Quartz
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
[SerializableAttribute] public class JobDataMap : StringKeyDirtyFlagMap
The JobDataMap type exposes the following members.
Name | Description | |
---|---|---|
JobDataMap |
Create an empty JobDataMap.
| |
JobDataMap(IDictionaryString, Object) |
Create a JobDataMap with the given data.
| |
JobDataMap(IDictionary) |
Create a JobDataMap with the given data.
| |
JobDataMap(SerializationInfo, StreamingContext) |
Serialization constructor.
|
Name | Description | |
---|---|---|
Count |
When implemented by a class, gets the number of
elements contained in the ICollection.
(Inherited from DirtyFlagMapTKey, TValue.) | |
Dirty |
Determine whether the IDictionary is flagged dirty.
(Inherited from DirtyFlagMapTKey, TValue.) | |
IsEmpty |
Gets a value indicating whether this instance is empty.
(Inherited from DirtyFlagMapTKey, TValue.) | |
IsFixedSize |
When implemented by a class, gets a value indicating whether the IDictionary
has a fixed size.
(Inherited from DirtyFlagMapTKey, TValue.) | |
IsReadOnly |
When implemented by a class, gets a value indicating whether the IDictionary
is read-only.
(Inherited from DirtyFlagMapTKey, TValue.) | |
IsSynchronized |
When implemented by a class, gets a value
indicating whether access to the ICollection is synchronized
(thread-safe).
(Inherited from DirtyFlagMapTKey, TValue.) | |
Item |
Gets or sets the Object with the specified key.
(Inherited from DirtyFlagMapTKey, TValue.) | |
Keys |
When implemented by a class, gets an ICollection containing the keys of the IDictionary.
(Inherited from DirtyFlagMapTKey, TValue.) | |
SyncRoot |
When implemented by a class, gets an object that
can be used to synchronize access to the ICollection.
(Inherited from DirtyFlagMapTKey, TValue.) | |
Values |
When implemented by a class, gets an ICollection containing the values in the IDictionary.
(Inherited from DirtyFlagMapTKey, TValue.) | |
WrappedMap |
Get a direct handle to the underlying Map.
(Inherited from DirtyFlagMapTKey, TValue.) |
Name | Description | |
---|---|---|
Add(KeyValuePairTKey, TValue) | (Inherited from DirtyFlagMapTKey, TValue.) | |
Add(Object, Object) | (Inherited from DirtyFlagMapTKey, TValue.) | |
Add(TKey, TValue) |
When implemented by a class, adds an element with the provided key and value to the IDictionary.
(Inherited from DirtyFlagMapTKey, TValue.) | |
Clear |
When implemented by a class, removes all elements from the IDictionary.
(Inherited from DirtyFlagMapTKey, TValue.) | |
ClearDirtyFlag |
Clear the 'dirty' flag (set dirty flag to ).
(Inherited from DirtyFlagMapTKey, TValue.) | |
Clone |
Creates a new object that is a copy of the current instance.
(Inherited from DirtyFlagMapTKey, TValue.) | |
Contains(KeyValuePairTKey, TValue) | (Inherited from DirtyFlagMapTKey, TValue.) | |
Contains(Object) | (Inherited from DirtyFlagMapTKey, TValue.) | |
ContainsKey |
When implemented by a class, determines whether the IDictionary contains an element with the specified key.
(Inherited from DirtyFlagMapTKey, TValue.) | |
ContainsValue |
Determines whether the specified obj contains value.
(Inherited from DirtyFlagMapTKey, TValue.) | |
CopyTo(Array, Int32) |
When implemented by a class, copies the elements of
the ICollection to an Array, starting at a particular Array index.
(Inherited from DirtyFlagMapTKey, TValue.) | |
CopyTo(KeyValuePairTKey, TValue, Int32) | (Inherited from DirtyFlagMapTKey, TValue.) | |
EntrySet |
Gets the entries as a set.
(Inherited from DirtyFlagMapTKey, TValue.) | |
Equals | (Inherited from StringKeyDirtyFlagMap.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Get |
Gets the value behind the specified key.
(Inherited from DirtyFlagMapTKey, TValue.) | |
GetBoolean |
Retrieve the identified Boolean value from the JobDataMap.
(Inherited from StringKeyDirtyFlagMap.) | |
GetBooleanValue |
Retrieve the identified Boolean value from the
JobDataMap.
| |
GetBooleanValueFromString |
Retrieve the identified Boolean value from the JobDataMap.
| |
GetChar |
Retrieve the identified Char value from the JobDataMap.
(Inherited from StringKeyDirtyFlagMap.) | |
GetCharFromString |
Retrieve the identified Char value from the JobDataMap.
| |
GetDateTime |
Retrieve the identified DateTime value from the JobDataMap.
(Inherited from StringKeyDirtyFlagMap.) | |
GetDateTimeOffset |
Retrieve the identified DateTimeOffset value from the JobDataMap.
(Inherited from StringKeyDirtyFlagMap.) | |
GetDateTimeOffsetValue |
Gets the date time offset.
| |
GetDateTimeOffsetValueFromString |
Retrieve the identified DateTimeOffset value from the JobDataMap.
| |
GetDateTimeValue |
Gets the date time.
| |
GetDateTimeValueFromString |
Retrieve the identified DateTime value from the JobDataMap.
| |
GetDouble |
Retrieve the identified Double value from the JobDataMap.
(Inherited from StringKeyDirtyFlagMap.) | |
GetDoubleValue |
Retrieve the identified Double value from the JobDataMap.
| |
GetDoubleValueFromString |
Retrieve the identified Double value from the JobDataMap.
| |
GetEnumerator |
When implemented by a class, returns an
IDictionaryEnumerator for the IDictionary.
(Inherited from DirtyFlagMapTKey, TValue.) | |
GetFloat |
Retrieve the identified Single value from the JobDataMap.
(Inherited from StringKeyDirtyFlagMap.) | |
GetFloatValue |
Retrieve the identified Single value from the JobDataMap.
| |
GetFloatValueFromString |
Retrieve the identified Single value from the JobDataMap.
| |
GetHashCode |
Serves as a hash function for a particular type, suitable
for use in hashing algorithms and data structures like a hash table.
(Inherited from StringKeyDirtyFlagMap.) | |
GetInt |
Retrieve the identified Int32 value from the JobDataMap.
(Inherited from StringKeyDirtyFlagMap.) | |
GetIntValue |
Retrieve the identified Int32 value from the JobDataMap.
| |
GetIntValueFromString |
Retrieve the identified Int32 value from the JobDataMap.
| |
GetKeys |
Gets the keys.
(Inherited from StringKeyDirtyFlagMap.) | |
GetLong |
Retrieve the identified Int64 value from the JobDataMap.
(Inherited from StringKeyDirtyFlagMap.) | |
GetLongValue |
Retrieve the identified Int64 value from the JobDataMap.
| |
GetLongValueFromString |
Retrieve the identified Int64 value from the JobDataMap.
| |
GetObjectData | (Inherited from DirtyFlagMapTKey, TValue.) | |
GetString |
Retrieve the identified String value from the JobDataMap.
(Inherited from StringKeyDirtyFlagMap.) | |
GetTimeSpan |
Retrieve the identified TimeSpan value from the JobDataMap.
(Inherited from StringKeyDirtyFlagMap.) | |
GetTimeSpanValue |
Retrieve the identified TimeSpan value from the JobDataMap.
| |
GetTimeSpanValueFromString |
Retrieve the identified TimeSpan value from the JobDataMap.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
KeySet |
Gets keyset for this map.
(Inherited from DirtyFlagMapTKey, TValue.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Put(TKey, TValue) |
Puts the value behind a specified key.
(Inherited from DirtyFlagMapTKey, TValue.) | |
Put(String, Boolean) | (Inherited from StringKeyDirtyFlagMap.) | |
Put(String, Char) | (Inherited from StringKeyDirtyFlagMap.) | |
Put(String, Double) | (Inherited from StringKeyDirtyFlagMap.) | |
Put(String, Int32) | (Inherited from StringKeyDirtyFlagMap.) | |
Put(String, Int64) | (Inherited from StringKeyDirtyFlagMap.) | |
Put(String, Single) | (Inherited from StringKeyDirtyFlagMap.) | |
Put(String, String) | (Inherited from StringKeyDirtyFlagMap.) | |
PutAll |
Adds the name-value pairs in the given IDictionary to the JobDataMap.
(Inherited from StringKeyDirtyFlagMap.)All keys must be Strings, and all values must be serializable. | |
PutAsString(String, Boolean) | ||
PutAsString(String, Char) | ||
PutAsString(String, DateTime) | ||
PutAsString(String, DateTimeOffset) |
Adds the given DateTimeOffset value as a string version to the
IJob's data map.
| |
PutAsString(String, Double) | ||
PutAsString(String, Int32) | ||
PutAsString(String, Int64) | ||
PutAsString(String, Single) | ||
PutAsString(String, TimeSpan) | ||
Remove(KeyValuePairTKey, TValue) | (Inherited from DirtyFlagMapTKey, TValue.) | |
Remove(Object) | (Inherited from DirtyFlagMapTKey, TValue.) | |
Remove(TKey) |
When implemented by a class, removes the element with the
specified key from the IDictionary.
(Inherited from DirtyFlagMapTKey, TValue.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue | (Inherited from DirtyFlagMapTKey, TValue.) |
JobDataMap instances can also be stored with a ITrigger. 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 IJobExecutionContext 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).
Update since 2.4.2 - We keep an dirty flag for this map so that whenever you modify(add/delete) any of the entries, it will set to "true". However if you create new instance using an exising map with constructor, then the dirty flag will NOT be set to "true" until you modify the instance.