Enum RetryLoopCount

java.lang.Object
java.lang.Enum<RetryLoopCount>
org.refcodes.data.RetryLoopCount
All Implemented Interfaces:
Serializable, Comparable<RetryLoopCount>, java.lang.constant.Constable, org.refcodes.mixin.ValueAccessor<Integer>

public enum RetryLoopCount extends Enum<RetryLoopCount> implements org.refcodes.mixin.ValueAccessor<Integer>
The RetryLoopCount defined values used inside a control flow.
  • Enum Constant Details

    • MIN_NUM_RETRY_LOOPS

      public static final RetryLoopCount MIN_NUM_RETRY_LOOPS
    • NORM_NUM_RETRY_LOOPS

      public static final RetryLoopCount NORM_NUM_RETRY_LOOPS
    • MAX_NUM_RETRY_LOOPS

      public static final RetryLoopCount MAX_NUM_RETRY_LOOPS
  • Method Details

    • values

      public static RetryLoopCount[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static RetryLoopCount valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public Integer getValue()
      Specified by:
      getValue in interface org.refcodes.mixin.ValueAccessor<Integer>