public static enum ValueFactoryProvider.Priority extends Enum<ValueFactoryProvider.Priority> implements ValueFactoryProvider.PriorityType
ValueFactoryProvider). 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 ValueFactoryProvider.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueFactoryProvider.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueFactoryProvider.Priority LOW
public static final ValueFactoryProvider.Priority NORMAL
public static final ValueFactoryProvider.Priority HIGH
public static ValueFactoryProvider.Priority[] values()
for (ValueFactoryProvider.Priority c : ValueFactoryProvider.Priority.values()) System.out.println(c);
public static ValueFactoryProvider.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()
ValueFactoryProvider.PriorityTypegetWeight in interface ValueFactoryProvider.PriorityTypeCopyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.