Network Class

public final class Network
extends ExpandableStringEnum<Network>

network of this container.

Field Summary

Modifier and Type Field and Description
static final Network BRIDGE

Static value Bridge for Network.

static final Network HOST

Static value Host for Network.

Constructor Summary

Constructor Description
Network()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Network value.

Method Summary

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

Creates or finds a Network from its string representation.

static Collection<Network> values()

Gets known Network values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BRIDGE

public static final Network BRIDGE

Static value Bridge for Network.

HOST

public static final Network HOST

Static value Host for Network.

Constructor Details

Network

@Deprecated
public Network()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Network value.

Method Details

fromString

public static Network fromString(String name)

Creates or finds a Network from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Network.

values

public static Collection<Network> values()

Gets known Network values.

Returns:

known Network values.

Applies to