Package in.dragonbra.javasteam.enums
Enum EMarketingMessageFlags
- java.lang.Object
-
- java.lang.Enum<EMarketingMessageFlags>
-
- in.dragonbra.javasteam.enums.EMarketingMessageFlags
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EMarketingMessageFlags>
public enum EMarketingMessageFlags extends java.lang.Enum<EMarketingMessageFlags>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HighPriorityNonePlatformLinuxPlatformMacPlatformWindows
-
Field Summary
Fields Modifier and Type Field Description static java.util.EnumSet<EMarketingMessageFlags>PlatformRestrictions
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcode()static intcode(java.util.EnumSet<EMarketingMessageFlags> flags)static java.util.EnumSet<EMarketingMessageFlags>from(int code)static EMarketingMessageFlagsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EMarketingMessageFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final EMarketingMessageFlags None
-
HighPriority
public static final EMarketingMessageFlags HighPriority
-
PlatformWindows
public static final EMarketingMessageFlags PlatformWindows
-
PlatformMac
public static final EMarketingMessageFlags PlatformMac
-
PlatformLinux
public static final EMarketingMessageFlags PlatformLinux
-
-
Field Detail
-
PlatformRestrictions
public static final java.util.EnumSet<EMarketingMessageFlags> PlatformRestrictions
-
-
Method Detail
-
values
public static EMarketingMessageFlags[] 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 (EMarketingMessageFlags c : EMarketingMessageFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EMarketingMessageFlags 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 java.util.EnumSet<EMarketingMessageFlags> from(int code)
-
code
public static int code(java.util.EnumSet<EMarketingMessageFlags> flags)
-
-