ConnectionType Class

public final class ConnectionType
extends ExpandableStringEnum<ConnectionType>

Defines values for ConnectionType.

Field Summary

Modifier and Type Field and Description
static final ConnectionType EXTERNAL

External.

static final ConnectionType INTERNAL

Internal.

Constructor Summary

Constructor Description
ConnectionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConnectionType value.

Method Summary

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

Creates or finds a ConnectionType from its string representation.

static Collection<ConnectionType> values()

Gets known ConnectionType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

EXTERNAL

public static final ConnectionType EXTERNAL

External.

INTERNAL

public static final ConnectionType INTERNAL

Internal.

Constructor Details

ConnectionType

@Deprecated
public ConnectionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConnectionType value.

Method Details

fromString

public static ConnectionType fromString(String name)

Creates or finds a ConnectionType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ConnectionType.

values

public static Collection<ConnectionType> values()

Gets known ConnectionType values.

Returns:

known ConnectionType values.

Applies to