Enum MessageIcons
- java.lang.Object
-
- java.lang.Enum<MessageIcons>
-
- io.quarkus.devtools.messagewriter.MessageIcons
-
- All Implemented Interfaces:
Serializable,Comparable<MessageIcons>
public enum MessageIcons extends Enum<MessageIcons>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_ICONFAILURE_ICONNOOP_ICONOUT_OF_DATE_ICONSUCCESS_ICONUP_TO_DATE_ICONWARN_ICON
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringiconOrMessage()static StringtoEmoji(String text)StringtoString()static MessageIconsvalueOf(String name)Returns the enum constant of this type with the specified name.static MessageIcons[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UP_TO_DATE_ICON
public static final MessageIcons UP_TO_DATE_ICON
-
OUT_OF_DATE_ICON
public static final MessageIcons OUT_OF_DATE_ICON
-
SUCCESS_ICON
public static final MessageIcons SUCCESS_ICON
-
FAILURE_ICON
public static final MessageIcons FAILURE_ICON
-
NOOP_ICON
public static final MessageIcons NOOP_ICON
-
WARN_ICON
public static final MessageIcons WARN_ICON
-
ERROR_ICON
public static final MessageIcons ERROR_ICON
-
-
Method Detail
-
values
public static MessageIcons[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MessageIcons c : MessageIcons.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageIcons valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
iconOrMessage
public String iconOrMessage()
-
toString
public String toString()
- Overrides:
toStringin classEnum<MessageIcons>
-
-