Class DelayTimeTrigger


  • 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
    • 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.Trigger

        _id
      • Fields inherited from class com.netgrif.application.engine.petrinet.domain.Imported

        importId
    • Constructor Summary

      Constructors 
      Constructor Description
      DelayTimeTrigger​(java.lang.String timeString)
      Creates new DelayTimeTrigger from specified string in ISO-8601 duration format PnDTnHnMn.nS
    • 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