HostnameType Class

public final class HostnameType
extends ExpandableStringEnum<HostnameType>

Hostname type.

Field Summary

Modifier and Type Field and Description
static final HostnameType DEVELOPER_PORTAL

Static value DeveloperPortal for HostnameType.

static final HostnameType MANAGEMENT

Static value Management for HostnameType.

static final HostnameType PORTAL

Static value Portal for HostnameType.

static final HostnameType PROXY

Static value Proxy for HostnameType.

static final HostnameType SCM

Static value Scm for HostnameType.

Constructor Summary

Constructor Description
HostnameType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HostnameType value.

Method Summary

Modifier and Type Method and Description
static HostnameType fromString(String name)

Creates or finds a HostnameType from its string representation.

static Collection<HostnameType> values()

Gets known HostnameType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEVELOPER_PORTAL

public static final HostnameType DEVELOPER_PORTAL

Static value DeveloperPortal for HostnameType.

MANAGEMENT

public static final HostnameType MANAGEMENT

Static value Management for HostnameType.

PORTAL

public static final HostnameType PORTAL

Static value Portal for HostnameType.

PROXY

public static final HostnameType PROXY

Static value Proxy for HostnameType.

SCM

public static final HostnameType SCM

Static value Scm for HostnameType.

Constructor Details

HostnameType

@Deprecated
public HostnameType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HostnameType value.

Method Details

fromString

public static HostnameType fromString(String name)

Creates or finds a HostnameType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding HostnameType.

values

public static Collection values()

Gets known HostnameType values.

Returns:

known HostnameType values.

Applies to