public enum CartridgeType extends Enum<CartridgeType>
| Enum Constant and Description |
|---|
EMBEDDED |
STANDALONE |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static CartridgeType |
safeValueOf(String type) |
static CartridgeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CartridgeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CartridgeType EMBEDDED
public static final CartridgeType STANDALONE
public static final CartridgeType UNDEFINED
public static CartridgeType[] values()
for (CartridgeType c : CartridgeType.values()) System.out.println(c);
public static CartridgeType 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 nullpublic static CartridgeType safeValueOf(String type)
Copyright © 2016 JBoss by Red Hat. All rights reserved.