IPFamily Class

public final class IPFamily
extends ExpandableStringEnum<IPFamily>

The IP families used to specify IP versions available to the pool.

Field Summary

Modifier and Type Field and Description
static final IPFamily IPV4

IPv4 is available to the pool.

static final IPFamily IPV6

IPv6 is available to the pool.

Constructor Summary

Constructor Description
IPFamily()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IPFamily value.

Method Summary

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

Creates or finds a IPFamily from its string representation.

static Collection<IPFamily> values()

Gets known IPFamily values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IPV4

public static final IPFamily IPV4

IPv4 is available to the pool.

IPV6

public static final IPFamily IPV6

IPv6 is available to the pool.

Constructor Details

IPFamily

@Deprecated
public IPFamily()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IPFamily value.

Method Details

fromString

public static IPFamily fromString(String name)

Creates or finds a IPFamily from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding IPFamily.

values

public static Collection<IPFamily> values()

Gets known IPFamily values.

Returns:

known IPFamily values.

Applies to