public static enum Message.LevelEnum extends Enum<Message.LevelEnum>
Modifier and Type | Method and Description |
---|---|
static Message.LevelEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static Message.LevelEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.LevelEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.LevelEnum OK
public static final Message.LevelEnum NOTICE
public static final Message.LevelEnum INVALID
public static final Message.LevelEnum ERROR
public static Message.LevelEnum[] values()
for (Message.LevelEnum c : Message.LevelEnum.values()) System.out.println(c);
public static Message.LevelEnum 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 getValue()
public String toString()
toString
in class Enum<Message.LevelEnum>
public static Message.LevelEnum fromValue(String value)
Copyright © 2011–2023 aiticon GmbH. All rights reserved.