Class RetryPolicy


  • public final class RetryPolicy
    extends Object
    Execution policy for an activity.
    • Constructor Detail

      • RetryPolicy

        public RetryPolicy()
    • Method Detail

      • getCount

        public Object getCount()
        Get the count property: Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.
        Returns:
        the count value.
      • setCount

        public RetryPolicy setCount​(Object count)
        Set the count property: Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.
        Parameters:
        count - the count value to set.
        Returns:
        the RetryPolicy object itself.
      • getIntervalInSeconds

        public Integer getIntervalInSeconds()
        Get the intervalInSeconds property: Interval between retries in seconds. Default is 30.
        Returns:
        the intervalInSeconds value.
      • setIntervalInSeconds

        public RetryPolicy setIntervalInSeconds​(Integer intervalInSeconds)
        Set the intervalInSeconds property: Interval between retries in seconds. Default is 30.
        Parameters:
        intervalInSeconds - the intervalInSeconds value to set.
        Returns:
        the RetryPolicy object itself.