Package in.dragonbra.javasteam.enums
Enum ESystemIMType
- java.lang.Object
-
- java.lang.Enum<ESystemIMType>
-
- in.dragonbra.javasteam.enums.ESystemIMType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ESystemIMType>
public enum ESystemIMType extends java.lang.Enum<ESystemIMType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CardWillExpireGiftRevokedGuestPassGrantedGuestPassReceivedInvalidCardRawTextRecurringPurchaseFailedSubscriptionExpiredSupportMessageSupportMessageClearAlert
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcode()static ESystemIMTypefrom(int code)static ESystemIMTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ESystemIMType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RawText
public static final ESystemIMType RawText
-
InvalidCard
public static final ESystemIMType InvalidCard
-
RecurringPurchaseFailed
public static final ESystemIMType RecurringPurchaseFailed
-
CardWillExpire
public static final ESystemIMType CardWillExpire
-
SubscriptionExpired
public static final ESystemIMType SubscriptionExpired
-
GuestPassReceived
public static final ESystemIMType GuestPassReceived
-
GuestPassGranted
public static final ESystemIMType GuestPassGranted
-
GiftRevoked
public static final ESystemIMType GiftRevoked
-
SupportMessage
public static final ESystemIMType SupportMessage
-
SupportMessageClearAlert
public static final ESystemIMType SupportMessageClearAlert
-
-
Method Detail
-
values
public static ESystemIMType[] 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 (ESystemIMType c : ESystemIMType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ESystemIMType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
code
public int code()
-
from
public static ESystemIMType from(int code)
-
-