public enum MessageTypeEnum extends Enum<MessageTypeEnum> implements MessageType
| Enum Constant and Description |
|---|
DEBUG
Message type: Debug.
|
DEFAULT
Default message type
|
ERROR
Message type: Error message
|
INFO
Message type: Info message - Icon = Info.
|
INLINE
Message type: Inline type messages
|
INTERACTIVE
Interactive messages
|
LOG
Messages intended for logging
|
NONE
Message type: No specified message type.
|
PROGRESS
Message type: Progress.
|
QUESTION
Message type: Question - Icon = Question mark.
|
QWARN
Message type: Warning with alternatives - Icon = Warning.
|
SECURITY
Message type: Log only = Security warning.
|
STATUS
Message type: Status line.
|
SYSTEM_LOG
Messages intended for system log
|
TIMER
Message type: Timer.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageType |
fromString(String pName)
This function retuns the
MessageType for a given name. |
static MessageTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageTypeEnum SYSTEM_LOG
public static final MessageTypeEnum INTERACTIVE
public static final MessageTypeEnum LOG
public static final MessageTypeEnum DEFAULT
public static final MessageTypeEnum QUESTION
public static final MessageTypeEnum QWARN
public static final MessageTypeEnum NONE
public static final MessageTypeEnum INFO
public static final MessageTypeEnum ERROR
public static final MessageTypeEnum SECURITY
public static final MessageTypeEnum DEBUG
public static final MessageTypeEnum STATUS
public static final MessageTypeEnum PROGRESS
public static final MessageTypeEnum TIMER
public static final MessageTypeEnum INLINE
public static MessageTypeEnum[] values()
for (MessageTypeEnum c : MessageTypeEnum.values()) System.out.println(c);
public static MessageTypeEnum 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 static MessageType fromString(String pName)
MessageType for a given name.pName - The name of the MessageType.MessageType. This can be null if the name does not match.Copyright © 2006–2018 Esito AS. All rights reserved.