Class FcStateTimerProps

    • Constructor Detail

      • FcStateTimerProps

        public FcStateTimerProps()
    • Method Detail

      • getApplicableStates

        public List<UuidEntityRef> getApplicableStates()
        Returns:
        UUIDs of applicable WorkflowStates for when the trigger fires. The trigger fires once a form record has remained for the configured amount of time in one of these states.
      • getDurationDays

        public long getDurationDays()
        Returns:
        The number of days a form record must remain in the given state before the trigger fires.
      • getDurationHours

        public int getDurationHours()
        Returns:
        The number of hours a form record must remain in the given state before the trigger fires.
      • getDurationMinutes

        public int getDurationMinutes()
        Returns:
        The number of minutes a form record must remain in the given state before the trigger fires.
      • getDurationSeconds

        public int getDurationSeconds()
        Returns:
        The number of seconds a form record must remain in the given state before the trigger fires.
      • setApplicableStates

        public void setApplicableStates​(List<UuidEntityRef> applicableStates)
        Parameters:
        applicableStates - UUIDs of applicable WorkflowStates for when the trigger fires. The trigger fires once a form record has remained for the configured amount of time in one of these states.
      • setDurationDays

        public void setDurationDays​(long durationDays)
        Parameters:
        durationDays - The number of days a form record must remain in the given state before the trigger fires.
      • setDurationHours

        public void setDurationHours​(int durationHours)
        Parameters:
        durationHours - The number of hours a form record must remain in the given state before the trigger fires.
      • setDurationMinutes

        public void setDurationMinutes​(int durationMinutes)
        Parameters:
        durationMinutes - The number of minutes a form record must remain in the given state before the trigger fires.
      • setDurationSeconds

        public void setDurationSeconds​(int durationSeconds)
        Parameters:
        durationSeconds - The number of seconds a form record must remain in the given state before the trigger fires.