public class JobDataMap extends com.helger.commons.collection.attr.AttributeContainerAny<String>
Job instances.
JobDataMap instances are stored once when the Job
is added to a scheduler. They are also re-persisted after every execution of
jobs annotated with @PersistJobDataAfterExecution.
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).
IJob,
PersistJobDataAfterExecution,
ITrigger,
IJobExecutionContext,
Serialized FormAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>com.helger.commons.collection.attr.IAttributeContainer.IAfterSetValueCallback<KEYTYPE,VALUETYPE>, com.helger.commons.collection.attr.IAttributeContainer.IBeforeSetValueCallback<KEYTYPE,VALUETYPE>| Constructor and Description |
|---|
JobDataMap()
Create an empty
JobDataMap. |
JobDataMap(Map<String,? extends Object> map)
Create a
JobDataMap with the given map data. |
| Modifier and Type | Method and Description |
|---|---|
JobDataMap |
getClone() |
afterSetValueCallbacks, beforeSetValueCallbacks, equals, hashCode, toStringclear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizefinalize, getClass, notify, notifyAll, wait, wait, waitgetAndSetFlag, putIn, putIn, putIn, putIn, putIn, putInafterSetValueCallbacks, beforeSetValueCallbacks, getAsBoolean, getAsDouble, getAsFloat, getAsInt, getAsLong, getValue, putAllIn, putInaddAll, containsAnyEntry, containsAnyKey, containsAnyValue, copyOfEntrySet, copyOfKeySet, copyOfKeySet, copyOfValues, copyOfValues, copyOfValuesMapped, copyOfValuesMapped, createInstance, findFirstEntry, findFirstKey, findFirstValue, forEach, forEachKey, forEachKey, forEachValue, forEachValue, getAsUnmodifiable, getFirstEntry, getFirstEntry, getFirstKey, getFirstKey, getFirstValue, getFirstValue, getSortedByKey, getSortedByValue, getSwappedKeyValues, isNotEmpty, put, putAll, putAll, putAllMapped, putAllMapped, putAllMapped, putIf, putIfNotNull, removeAll, removeIf, removeIfKey, removeIfValue, removeObject, setAllclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuescontainsNonNullValue, containsNullValue, getAsBigDecimal, getAsBigDecimal, getAsBigInteger, getAsBigInteger, getAsBoolean, getAsBooleanObj, getAsByte, getAsByte, getAsByteArray, getAsByteObj, getAsChar, getAsChar, getAsCharArray, getAsCharArray, getAsCharObj, getAsDouble, getAsDoubleObj, getAsFloat, getAsFloatObj, getAsInt, getAsIntObj, getAsLocalDate, getAsLocalDate, getAsLocalDate, getAsLocalDateTime, getAsLocalDateTime, getAsLocalDateTime, getAsLocalTime, getAsLocalTime, getAsLocalTime, getAsLong, getAsLongObj, getAsShort, getAsShort, getAsShortObj, getAsSqlBlob, getAsSqlClob, getAsSqlDate, getAsSqlNClob, getAsSqlRowId, getAsSqlTime, getAsSqlTimestamp, getAsString, getAsString, getAsStringList, getAsStringList, getAsStringSet, getAsStringSet, getCastedValue, getCastedValue, getCastedValue, getCastedValue, getConvertedValue, getConvertedValue, getSafeCastedValue, getSafeCastedValue, getValueClass, hasStringValue, hasStringValue, onSafeCastError@Nonnull @ReturnsMutableCopy public JobDataMap getClone()
getClone in interface com.helger.commons.collection.attr.IAttributeContainer<String,Object>getClone in interface com.helger.commons.collection.attr.IAttributeContainerAny<String>getClone in interface com.helger.commons.collection.impl.ICommonsOrderedMap<String,Object>getClone in interface com.helger.commons.lang.ICloneable<com.helger.commons.collection.impl.ICommonsMap<String,Object>>getClone in class com.helger.commons.collection.attr.AttributeContainerAny<String>Copyright © 2016–2021 Philip Helger. All rights reserved.