public enum PromiseOrigin extends Enum<PromiseOrigin>
| Modifier and Type | Field and Description |
|---|---|
static Set<PromiseOrigin> |
ALL |
static Set<PromiseOrigin> |
NONE |
static Set<PromiseOrigin> |
PARAM_ONLY |
static Set<PromiseOrigin> |
THIS_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static PromiseOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PromiseOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PromiseOrigin THIS
public static final PromiseOrigin PARAM
public static final Set<PromiseOrigin> ALL
public static final Set<PromiseOrigin> NONE
public static final Set<PromiseOrigin> THIS_ONLY
public static final Set<PromiseOrigin> PARAM_ONLY
public static PromiseOrigin[] values()
for (PromiseOrigin c : PromiseOrigin.values()) System.out.println(c);
public static PromiseOrigin 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 nullCopyright © 2021. All rights reserved.