public enum Importance extends Enum<Importance>
Note: Importance is defined so that Importance 1 is greater than Importance 5 i.e. the ordering of importances 1-5 is not by numeric value
Enum Constant and Description |
---|
DISCRETIONARY |
I1 |
I2 |
I3 |
I4 |
I5 |
SYSTEM |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Importance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Importance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Importance DISCRETIONARY
public static final Importance I5
public static final Importance I4
public static final Importance I3
public static final Importance I2
public static final Importance I1
public static final Importance SYSTEM
public static Importance[] values()
for (Importance c : Importance.values()) System.out.println(c);
public static Importance 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 String toString()
toString
in class Enum<Importance>
Copyright © 2020 Black Hill Software Pty Ltd. All rights reserved.