Class DelayTimeTrigger
- java.lang.Object
-
- com.netgrif.application.engine.petrinet.domain.Imported
-
- com.netgrif.application.engine.workflow.domain.triggers.Trigger
-
- com.netgrif.application.engine.workflow.domain.triggers.TimeTrigger
-
- com.netgrif.application.engine.workflow.domain.triggers.DelayTimeTrigger
-
- All Implemented Interfaces:
java.io.Serializable
public class DelayTimeTrigger extends TimeTrigger
Time trigger that will execute task after specified delay (e.g. 'after 3h 10m') in ISO-8601 format.- See Also:
- ISO-8601, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.netgrif.application.engine.workflow.domain.triggers.Trigger
Trigger.Type
-
-
Field Summary
-
Fields inherited from class com.netgrif.application.engine.workflow.domain.triggers.TimeTrigger
startDate, timeString
-
-
Constructor Summary
Constructors Constructor Description DelayTimeTrigger(java.lang.String timeString)
Creates new DelayTimeTrigger from specified string in ISO-8601 duration format PnDTnHnMn.nS
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DelayTimeTrigger
clone()
-
Methods inherited from class com.netgrif.application.engine.workflow.domain.triggers.Trigger
get_id, set_id
-
Methods inherited from class com.netgrif.application.engine.petrinet.domain.Imported
getImportId, setImportId
-
-
-
-
Constructor Detail
-
DelayTimeTrigger
public DelayTimeTrigger(java.lang.String timeString) throws java.time.format.DateTimeParseException
Creates new DelayTimeTrigger from specified string in ISO-8601 duration format PnDTnHnMn.nS- Parameters:
timeString
- delay string in format PnDTnHnMn.nS- Throws:
java.time.format.DateTimeParseException
- if the string cannot be parsed into duration- See Also:
- ISO-8601
-
-
Method Detail
-
clone
public DelayTimeTrigger clone()
-
-