Package com.fluig.sdk.api
Enum FluigMessageType
- java.lang.Object
-
- java.lang.Enum<FluigMessageType>
-
- com.fluig.sdk.api.FluigMessageType
-
- All Implemented Interfaces:
Serializable
,Comparable<FluigMessageType>
public enum FluigMessageType extends Enum<FluigMessageType>
Define os tipos de mensagens suportadas pelo sistema para comunicação com o cliente.- Version:
- 1.00.000
- Author:
- vanei
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FluigMessageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FluigMessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFO
public static final FluigMessageType INFO
Informações gerais.
-
WARNING
public static final FluigMessageType WARNING
Aviso importante.
-
ERROR
public static final FluigMessageType ERROR
Erro.
-
QUESTION
public static final FluigMessageType QUESTION
Pergunta.
-
-
Method Detail
-
values
public static FluigMessageType[] 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 (FluigMessageType c : FluigMessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FluigMessageType 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
-
-