public static enum SyntheticSourceOptions.ProgressShape extends java.lang.Enum<SyntheticSourceOptions.ProgressShape>
SyntheticBoundedSource.| Enum Constant and Description |
|---|
LINEAR
Reported progress grows linearly from 0 to 1.
|
LINEAR_REGRESSING
Reported progress decreases linearly from 0.9 to 0.1.
|
| Modifier and Type | Method and Description |
|---|---|
static SyntheticSourceOptions.ProgressShape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SyntheticSourceOptions.ProgressShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyntheticSourceOptions.ProgressShape LINEAR
public static final SyntheticSourceOptions.ProgressShape LINEAR_REGRESSING
public static SyntheticSourceOptions.ProgressShape[] values()
for (SyntheticSourceOptions.ProgressShape c : SyntheticSourceOptions.ProgressShape.values()) System.out.println(c);
public static SyntheticSourceOptions.ProgressShape valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null