public enum JBossProductType extends Enum<JBossProductType>
| Modifier and Type | Field and Description |
|---|---|
String |
DEFAULT_CONFIG_NAME |
String |
DESCRIPTION |
String |
NAME |
| Modifier and Type | Method and Description |
|---|---|
static JBossProductType |
determineJBossProductType(Attributes attributes)
Determines the product type (AS, EAP or SOA) based on the Implementation-Title MANIFEST.MF attribute.
|
String |
toString() |
static JBossProductType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JBossProductType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JBossProductType AS
public static final JBossProductType EAP
public static final JBossProductType SOA
public final String NAME
public final String DESCRIPTION
public final String DEFAULT_CONFIG_NAME
public static JBossProductType[] values()
for (JBossProductType c : JBossProductType.values()) System.out.println(c);
public static JBossProductType 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 JBossProductType determineJBossProductType(Attributes attributes)
attributes - the attributes from a manifest file (typically run.jar or jboss-j2ee.jar)public String toString()
toString in class Enum<JBossProductType>Copyright © 2017. All rights reserved.