Class TimerEventDefinition

    • Constructor Detail

      • TimerEventDefinition

        public TimerEventDefinition​(java.lang.String elementId,
                                    java.lang.String name,
                                    java.lang.String description,
                                    Element.ElementType type,
                                    java.lang.String parentId,
                                    TimerEventSetup.TimerType timerType,
                                    java.io.Serializable timerValue)
        It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the timer event definitions returned by the API.
        Parameters:
        elementId - The identifier of the timer event element as it appears in the process flow definition.
        name - The name of the timer event as it appears in the process flow definition.
        description - The description of the timer event as it appears in the process flow definition.
        type - The type of the event that associates with the type in the process flow definition.
        parentId - The id of the flow definition that is the parent of this task.
        timerType - The type of timer for the timer event.
        timerValue - The value of the timer.
    • Method Detail

      • getTimerValue

        public java.io.Serializable getTimerValue()
        Gets the value of the timer. If TimerType is Date, the timer value is a Date. If TimerType is Duration, the timer value is a String in ISO 8601 duration format. An example of duration is P10D, which represents 10 days.
        Returns:
        The value.