| Enum Constant and Description |
|---|
DEBUG
Lowest Prio.
|
DOCUMENTATION
Documenation.
|
EXCEPTION
Exception happens.
|
FAILURE
Assertion happens.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMoreImportantThan(Priority other)
Checks if this priority is more important or equal than the other.
|
static Priority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Priority DEBUG
public static final Priority DOCUMENTATION
public static final Priority FAILURE
public static final Priority EXCEPTION
public static Priority[] values()
for (Priority c : Priority.values()) System.out.println(c);
public static 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 boolean isMoreImportantThan(Priority other)
other - a other priority.Copyright © 2017 PPI AG. All rights reserved.