public enum HostingType extends Enum<HostingType>
Modifier and Type | Method and Description |
---|---|
static String |
getCloudHostingName() |
static HostingType |
getDefaultType() |
static String |
getServerHostingName() |
static HostingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostingType SERVER
public static final HostingType CLOUD
public static HostingType[] values()
for (HostingType c : HostingType.values()) System.out.println(c);
public static HostingType 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 static String getCloudHostingName()
public static String getServerHostingName()
public static HostingType getDefaultType()
Copyright © 2016–2022. All rights reserved.