Klasse IntervalPlugin
java.lang.Object
org.imixs.workflow.engine.plugins.AbstractPlugin
org.imixs.workflow.engine.plugins.IntervalPlugin
- Alle implementierten Schnittstellen:
Plugin
The Imixs Interval Plugin implements an mechanism to adjust a date field of a
workitem based on a interval description. The interval description is stored
in a field with the prafix 'keyinterval' followed by the name of an existing
date field. See the following example:
<item name="interval">
<ref>reminder</ref>
<cron>5 15 * * 1-5</cron>
</item>
- Version:
- 1.0
- Autor:
- Ralph Soika
- Siehe auch:
-
Feldübersicht
FelderVon Klasse geerbte Felder org.imixs.workflow.engine.plugins.AbstractPlugin
INVALID_ITEMVALUE_FORMAT, INVALID_PROPERTYVALUE_FORMAT -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungevalCron(String cron, LocalDateTime baseDateTime) evaluates a cron definitionevalMacro(String macro, LocalDateTime ldt) The method evaluates a macro.run(ItemCollection adocumentContext, ItemCollection event) The method paresed for a fields with the prafix 'keyitnerval'Von Klasse geerbte Methoden org.imixs.workflow.engine.plugins.AbstractPlugin
close, getWorkflowContext, getWorkflowService, init, mergeFieldList, setWorkflowService, uniqueList
-
Felddetails
-
EVAL_INTERVAL
- Siehe auch:
-
INVALID_FORMAT
- Siehe auch:
-
increase
public boolean increase
-
-
Konstruktordetails
-
IntervalPlugin
public IntervalPlugin()
-
-
Methodendetails
-
run
public ItemCollection run(ItemCollection adocumentContext, ItemCollection event) throws PluginException The method paresed for a fields with the prafix 'keyitnerval'- Parameter:
adocumentContext- the workitem to be processedevent- the workflow event containing the processing instructions- Gibt zurück:
- updated workitem for further processing
- Löst aus:
PluginException
-
evalCron
evaluates a cron definition- Parameter:
cron- - a cron definition * * * * *baseDateTime- - the base dateTime for the evaluation- Gibt zurück:
- next dateTime
- Löst aus:
PluginException
-
evalCron
- Löst aus:
PluginException
-
evalMacro
The method evaluates a macro. Possible values:- @yearly
- @monthly
- @weekly
- @daily
- @hourly
- Parameter:
macro-date-- Gibt zurück:
- Löst aus:
PluginException
-