public static enum StateOptions.RetryPolicy.Pattern extends Enum<StateOptions.RetryPolicy.Pattern>
Enum Constant and Description |
---|
EXPONENTIAL |
LINEAR |
Modifier and Type | Method and Description |
---|---|
static StateOptions.RetryPolicy.Pattern |
fromValue(String value) |
String |
getValue() |
static StateOptions.RetryPolicy.Pattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateOptions.RetryPolicy.Pattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateOptions.RetryPolicy.Pattern LINEAR
public static final StateOptions.RetryPolicy.Pattern EXPONENTIAL
public static StateOptions.RetryPolicy.Pattern[] values()
for (StateOptions.RetryPolicy.Pattern c : StateOptions.RetryPolicy.Pattern.values()) System.out.println(c);
public static StateOptions.RetryPolicy.Pattern valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public static StateOptions.RetryPolicy.Pattern fromValue(String value)
Copyright © 2020. All rights reserved.