Class SetTimerAction

    • Method Detail

      • timerName

        public final String timerName()

        The name of the timer.

        Returns:
        The name of the timer.
      • seconds

        @Deprecated
        public final Integer seconds()
        Deprecated.
        seconds is deprecated. You can use durationExpression for SetTimerAction. The value of seconds can be used as a string expression for durationExpression.

        The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.

        Returns:
        The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.
      • durationExpression

        public final String durationExpression()

        The duration of the timer, in seconds. You can use a string expression that includes numbers, variables ( $variable.<variable-name>), and input values ( $input.<input-name>.<path-to-datum>) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number.

        Returns:
        The duration of the timer, in seconds. You can use a string expression that includes numbers, variables ( $variable.<variable-name>), and input values ( $input.<input-name>.<path-to-datum>) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)