public class IntervalPlugin extends AbstractPlugin
<item name="interval">
<ref>reminder</ref>
<cron>5 15 * * 1-5</cron>
</item>
WorkflowManager| Modifier and Type | Field and Description |
|---|---|
static String |
EVAL_INTERVAL |
static String |
INVALID_FORMAT |
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT| Constructor and Description |
|---|
IntervalPlugin() |
| Modifier and Type | Method and Description |
|---|---|
LocalDateTime |
evalCron(String cron)
evaluates a cron definition
|
LocalDateTime |
evalMacro(String macro,
LocalDateTime ldt)
The method evaluates a macro.
|
ItemCollection |
run(ItemCollection adocumentContext,
ItemCollection event)
The method paresed for a fields with the prafix 'keyitnerval'
|
close, getCtx, getWorkflowService, init, mergeFieldList, uniqueListpublic static final String EVAL_INTERVAL
public static final String INVALID_FORMAT
public ItemCollection run(ItemCollection adocumentContext, ItemCollection event) throws PluginException
PluginExceptionpublic LocalDateTime evalCron(String cron) throws PluginException
cron - PluginExceptionpublic LocalDateTime evalMacro(String macro, LocalDateTime ldt) throws PluginException
macro - date - PluginExceptionCopyright © 2006–2020 Imixs Software Solutions GmbH. All rights reserved.