public enum MethodPriority extends Enum<MethodPriority>
| Enum Constant and Description |
|---|
HIGH
The high priority, method will be run just after Highest methods.
|
HIGHEST
The highest priority, method will be run at the beginning.
|
LOW
The lowest priority, method will be run after normal methods but before lowest methods.
|
LOWEST
The lowest priority, method will be run at the end.
|
NORMAL
The normal priority, method will be run before lower methods but after high methods.
|
| Modifier and Type | Method and Description |
|---|---|
static MethodPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodPriority LOWEST
public static final MethodPriority LOW
public static final MethodPriority NORMAL
public static final MethodPriority HIGH
public static final MethodPriority HIGHEST
public static MethodPriority[] values()
for (MethodPriority c : MethodPriority.values()) System.out.println(c);
public static MethodPriority 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 © 2011–2015 JRebirth OSS. All rights reserved.