public static enum UserInteraction.MessageType extends Enum<UserInteraction.MessageType>
Enum Constant and Description |
---|
ERROR
A message displayed as a result of an error.
|
INFORMATION
A message displayed informing the user of something.
|
PLAIN
A message with no context.
|
QUESTION
A message displayed to ask the user a question.
|
WARNING
A message displayed to warn the user.
|
Modifier and Type | Method and Description |
---|---|
static UserInteraction.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserInteraction.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserInteraction.MessageType PLAIN
public static final UserInteraction.MessageType ERROR
public static final UserInteraction.MessageType INFORMATION
public static final UserInteraction.MessageType WARNING
public static final UserInteraction.MessageType QUESTION
public static UserInteraction.MessageType[] values()
for (UserInteraction.MessageType c : UserInteraction.MessageType.values()) System.out.println(c);
public static UserInteraction.MessageType 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 nullCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.