public static enum PsuMessage.CategoryEnum extends Enum<PsuMessage.CategoryEnum>
Modifier and Type | Method and Description |
---|---|
static PsuMessage.CategoryEnum |
fromValue(String text) |
String |
toString() |
static PsuMessage.CategoryEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PsuMessage.CategoryEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PsuMessage.CategoryEnum ERROR
public static final PsuMessage.CategoryEnum WARNING
public static final PsuMessage.CategoryEnum INFO
public static PsuMessage.CategoryEnum[] values()
for (PsuMessage.CategoryEnum c : PsuMessage.CategoryEnum.values()) System.out.println(c);
public static PsuMessage.CategoryEnum 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<PsuMessage.CategoryEnum>
public static PsuMessage.CategoryEnum fromValue(String text)
Copyright © 2020. All rights reserved.