public enum PlatformType extends java.lang.Enum<PlatformType> implements Type
Modifier and Type | Class and Description |
---|---|
static class |
PlatformType.PlatformTypeDisplayable
A Displayable for a Platform
|
Enum Constant and Description |
---|
ANY |
CLOUD |
GLASSFISH |
IAS |
JBOSS |
JEE |
JME |
JSE |
OAS |
OC4J |
TOMCAT |
WEBLOGIC |
WEBSPHERE |
Modifier and Type | Method and Description |
---|---|
Displayable |
getDisplayable()
Utility method to retrieve a Displayable from a PlatformType.
|
boolean |
isExtensionOf(PlatformType other)
Utility function to check if one Platform Type is the same as, or a subtype of another type.
|
static PlatformType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlatformType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final PlatformType ANY
public static final PlatformType JSE
public static final PlatformType JME
public static final PlatformType JEE
public static final PlatformType OC4J
public static final PlatformType IAS
public static final PlatformType OAS
public static final PlatformType TOMCAT
public static final PlatformType JBOSS
public static final PlatformType GLASSFISH
public static final PlatformType WEBLOGIC
public static final PlatformType WEBSPHERE
public static final PlatformType CLOUD
public static PlatformType[] values()
for (PlatformType c : PlatformType.values()) System.out.println(c);
public static PlatformType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isExtensionOf(PlatformType other)
public Displayable getDisplayable()
type
-