public enum JBossProductType extends Enum<JBossProductType>
| Modifier and Type | Field and Description |
|---|---|
String |
FULL_NAME |
String |
NAME |
String |
PRODUCT_NAME
The value the server returns for the "product-name" attribute of the root resource.
|
String |
SHORT_NAME |
| Modifier and Type | Method and Description |
|---|---|
static JBossProductType |
determineJBossProductType(File homeDir)
Deprecated.
"Use the version with the apiVersion"
|
static JBossProductType |
determineJBossProductType(File homeDir,
String apiVersion)
Determines the product type of a JBoss product installation.
|
static JBossProductType |
getValueByProductName(String productName) |
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 JDG
public static final JBossProductType EPP
public static final JBossProductType JPP
public static final JBossProductType SOA
public static final JBossProductType WILDFLY8
public final String SHORT_NAME
public final String NAME
public final String FULL_NAME
public final String PRODUCT_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 null@Deprecated public static JBossProductType determineJBossProductType(File homeDir)
homeDir - the JBoss product installation directory (e.g. /opt/jboss-as-7.1.1.Final)public static JBossProductType determineJBossProductType(File homeDir, String apiVersion)
homeDir - the JBoss product installation directory (e.g. /opt/jboss-as-7.1.1.Final)apiVersion - Api version of the domain api.public static JBossProductType getValueByProductName(String productName)
public String toString()
toString in class Enum<JBossProductType>Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.