public enum Containers extends Enum<Containers>
Modifier and Type | Method and Description |
---|---|
static Containers |
fromContainerName(String containerName) |
String |
getName() |
static Containers |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Containers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Containers TOMCAT
public static final Containers JBOSS
public static final Containers GLASSFISH
public static Containers[] values()
for (Containers c : Containers.values()) System.out.println(c);
public static Containers 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 getName()
public static Containers fromContainerName(String containerName)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.