public enum HostType extends Enum<HostType>
Enum Constant and Description |
---|
REPOSITORY
Enum value Repository.
|
STANDARD
Enum value Standard.
|
Modifier and Type | Method and Description |
---|---|
static HostType |
fromString(String value)
Parses a serialized value to a HostType instance.
|
String |
toString() |
static HostType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostType STANDARD
public static final HostType REPOSITORY
public static HostType[] values()
for (HostType c : HostType.values()) System.out.println(c);
public static HostType 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 HostType fromString(String value)
value
- the serialized value to parse.Copyright © 2019. All rights reserved.