public static enum ServerDetector.SERVER extends java.lang.Enum<ServerDetector.SERVER>
枚举常量和说明 |
---|
GERONIMO
服务器类型
|
GLASSFISH |
JBOSS |
JETTY |
JONAS |
OC4J |
RESIN |
TOMCAT |
UNKNOWN |
WEBLOGIC |
WEBSPHERE |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getName() |
static ServerDetector.SERVER |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ServerDetector.SERVER[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ServerDetector.SERVER GERONIMO
public static final ServerDetector.SERVER GLASSFISH
public static final ServerDetector.SERVER JBOSS
public static final ServerDetector.SERVER JETTY
public static final ServerDetector.SERVER JONAS
public static final ServerDetector.SERVER OC4J
public static final ServerDetector.SERVER RESIN
public static final ServerDetector.SERVER TOMCAT
public static final ServerDetector.SERVER WEBLOGIC
public static final ServerDetector.SERVER WEBSPHERE
public static final ServerDetector.SERVER UNKNOWN
public static ServerDetector.SERVER[] values()
for (ServerDetector.SERVER c : ServerDetector.SERVER.values()) System.out.println(c);
public static ServerDetector.SERVER valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public java.lang.String getName()