public static enum ValueParamProvider.Priority extends Enum<ValueParamProvider.Priority> implements ValueParamProvider.PriorityType
ValueSupplierProvider). At first providers with the HIGH
priority are examined then those with NORMAL priority and at last the ones with the LOW priority.| Enum Constant and Description |
|---|
HIGH
High priority.
|
LOW
Low priority.
|
NORMAL
Normal priority.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getWeight()
Returns the weight of this priority.
|
static ValueParamProvider.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueParamProvider.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueParamProvider.Priority LOW
public static final ValueParamProvider.Priority NORMAL
public static final ValueParamProvider.Priority HIGH
public static ValueParamProvider.Priority[] values()
for (ValueParamProvider.Priority c : ValueParamProvider.Priority.values()) System.out.println(c);
public static ValueParamProvider.Priority 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 int getWeight()
ValueParamProvider.PriorityTypegetWeight in interface ValueParamProvider.PriorityTypeCopyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.