Package ch.tocco.nice2.tasks.api.quartz
Class JobDataMapReader
java.lang.Object
ch.tocco.nice2.tasks.api.quartz.AbstractJobDataMapHandler
ch.tocco.nice2.tasks.api.quartz.JobDataMapReader
-
Field Summary
Fields inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractJobDataMapHandler
BUSINESS_UNIT_KEY, IMMUTABLE_KEY, INTERRUPTABLE_KEY, L10N_CONTEXT_KEY, LEGACY_NOTIFICATION_ENABLED_KEY, LOCALE_KEY, MULTIPLE_SCHEDULES_ENABLED_KEY, NOTIFICATION_ENABLED_KEY, PRINCIPAL_KEY, RECOVERY_ENABLED_KEY, RULE_PROVIDER_KEY, TASK_DETAILS_KEY, TASK_ID_KEY, TASK_NAME_KEY, TASK_TYPE_KEY, xStream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Serializable>
Optional<T> <T> Optional
<T> getXstream
(String key) Deprecated.boolean
boolean
boolean
boolean
<T extends Serializable>
Tboolean
requireBoolean
(String key) int
requireInteger
(String key) <T extends Serializable>
List<T> requireList
(String key) <T extends Serializable,
U extends Serializable>
Map<T, U> requireMap
(String key) <T extends Serializable>
Set<T> requireSet
(String key) requireString
(String key) <T> T
requireXstream
(String key) Deprecated.userequire(String)
(String)}Methods inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractJobDataMapHandler
addConverter
-
Constructor Details
-
JobDataMapReader
public JobDataMapReader(org.quartz.JobDataMap jobDataMap)
-
-
Method Details
-
requireTaskId
-
getTaskName
-
requireTaskName
-
getBusinessUnit
-
requireLocale
-
getLocale
-
getL10NContext
-
getPrincipal
-
getRuleProvider
-
getTaskType
-
isInterruptableJob
public boolean isInterruptableJob() -
isImmutableJob
public boolean isImmutableJob() -
notificationEnabled
public boolean notificationEnabled() -
legacyNotificationEnabled
public boolean legacyNotificationEnabled() -
getString
-
requireString
-
requireBoolean
-
requireInteger
-
get
-
require
-
requireList
-
requireSet
-
requireMap
-
getXstream
Deprecated.useget(String)
-
requireXstream
Deprecated.userequire(String)
(String)}
-
get(String)