Package ch.tocco.nice2.tasks.api.quartz
Class JobDataMapBuilder
java.lang.Object
ch.tocco.nice2.tasks.api.quartz.AbstractJobDataMapHandler
ch.tocco.nice2.tasks.api.quartz.JobDataMapBuilder
-
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 TypeMethodDescriptionputBoolean
(String key, boolean value) putBusinessUnit
(BusinessUnit businessUnit) putImmutable
(boolean immutable) putInteger
(String key, int value) putLegacyNotificationEnabled
(boolean legacyNotificationEnabled) putList
(String key, List<? extends Serializable> value) putMap
(String key, Map<? extends Serializable, ? extends Serializable> value) putMultipleSchedulesEnabled
(boolean multipleSchedulesEnabled) putNotificationEnabled
(boolean notificationEnabled) putObject
(String key, Serializable value) putObjectXstream
(String key, Object value) Deprecated.putPrincipal
(String username) putRecoveryEnabled
(boolean recoveryEnabled) putRuleProvider
(String value) putSet
(String key, Set<? extends Serializable> value) putTaskDetails
(String name) org.quartz.JobDataMap
Methods inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractJobDataMapHandler
addConverter
-
Constructor Details
-
JobDataMapBuilder
public JobDataMapBuilder()
-
-
Method Details
-
putTaskId
-
putName
-
putTaskDetails
-
putBusinessUnit
-
putPrincipal
-
putImmutable
-
putNotificationEnabled
-
putLegacyNotificationEnabled
-
putMultipleSchedulesEnabled
- Parameters:
multipleSchedulesEnabled
- Set to false, if a job with the same name should not be scheduled multiple times (default: true).
-
putRecoveryEnabled
- Parameters:
recoveryEnabled
- Set to false, if a job should not be recovered after (default: true).
-
putRuleProvider
-
putObject
-
putList
-
putSet
-
putMap
public JobDataMapBuilder putMap(String key, Map<? extends Serializable, ? extends Serializable> value) -
putObjectXstream
Deprecated. -
putString
-
putBoolean
-
putInteger
-
toJobDataMap
public org.quartz.JobDataMap toJobDataMap()
-
putObject(String, Serializable)