public enum TomcatVersion extends Enum<TomcatVersion>
Modifier and Type | Method and Description |
---|---|
static TomcatVersion |
get() |
String |
getServerBuilt() |
String |
getServerNumber() |
static boolean |
hasAnnotationProcessingSupport() |
boolean |
isTheVersion() |
static TomcatVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TomcatVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TomcatVersion v3
public static final TomcatVersion v40
public static final TomcatVersion v41
public static final TomcatVersion v50
public static final TomcatVersion v55
public static final TomcatVersion v6
public static final TomcatVersion v7
public static final TomcatVersion UNKNOWN
public static TomcatVersion[] values()
for (TomcatVersion c : TomcatVersion.values()) System.out.println(c);
public static TomcatVersion 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 String getServerNumber()
public String getServerBuilt()
public boolean isTheVersion()
public static boolean hasAnnotationProcessingSupport()
public static TomcatVersion get()
Copyright © 2015 SeqWare. All rights reserved.