public enum ServerImageType extends Enum<ServerImageType>
Enum Constant and Description |
---|
DATABASE_SERVER |
UNRECOGNIZED |
WEB_APPLICATION_SERVER |
Modifier and Type | Method and Description |
---|---|
static ServerImageType |
fromValue(String type) |
String |
toString() |
static ServerImageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerImageType WEB_APPLICATION_SERVER
public static final ServerImageType DATABASE_SERVER
public static final ServerImageType UNRECOGNIZED
public static ServerImageType[] values()
for (ServerImageType c : ServerImageType.values()) System.out.println(c);
public static ServerImageType 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 toString()
toString
in class Enum<ServerImageType>
public static ServerImageType fromValue(String type)
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.