Enum RamOption
- java.lang.Object
-
- java.lang.Enum<RamOption>
-
- com.inductiveautomation.ignition.gateway.model.RamOption
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getJVMString()
int
getMegabytes()
static RamOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RamOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MB128
public static final RamOption MB128
-
MB256
public static final RamOption MB256
-
MB512
public static final RamOption MB512
-
MB768
public static final RamOption MB768
-
MB1024
public static final RamOption MB1024
-
MB1536
public static final RamOption MB1536
-
MB2048
public static final RamOption MB2048
-
MB4096
public static final RamOption MB4096
-
-
Method Detail
-
values
public static RamOption[] 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 (RamOption c : RamOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RamOption 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
-
getMegabytes
public int getMegabytes()
-
getJVMString
public java.lang.String getJVMString()
-
-