public static enum ValueFactoryProvider.Priority extends java.lang.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 | Field and Description |
---|---|
private int |
weight
Weight of this priority.
|
Modifier and Type | Method and Description |
---|---|
int |
getWeight()
Returns the weight of this priority.
|
static ValueFactoryProvider.Priority |
valueOf(java.lang.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(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 nullpublic int getWeight()
ValueFactoryProvider.PriorityType
getWeight
in interface ValueFactoryProvider.PriorityType