public enum ESystemMessageType extends Enum<ESystemMessageType> implements com.helger.commons.id.IHasID<String>, com.helger.commons.text.display.IHasDisplayText
| Modifier and Type | Field and Description |
|---|---|
static ESystemMessageType |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayText(Locale aContentLocale) |
static ESystemMessageType |
getFromIDOrDefault(String sID) |
String |
getID() |
static ESystemMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESystemMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ESystemMessageType INFO
public static final ESystemMessageType WARNING
public static final ESystemMessageType ERROR
public static final ESystemMessageType SUCCESS
public static final ESystemMessageType DEFAULT
public static ESystemMessageType[] values()
for (ESystemMessageType c : ESystemMessageType.values()) System.out.println(c);
public static ESystemMessageType 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 null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nullable public String getDisplayText(@Nonnull Locale aContentLocale)
getDisplayText in interface com.helger.commons.text.display.IHasDisplayText@Nonnull public static ESystemMessageType getFromIDOrDefault(@Nullable String sID)
Copyright © 2014–2017 Philip Helger. All rights reserved.