PcProtocol Class

public final class PcProtocol
extends ExpandableStringEnum<PcProtocol>

Protocol to be filtered on.

Field Summary

Modifier and Type Field and Description
static final PcProtocol ANY

Static value Any for PcProtocol.

static final PcProtocol TCP

Static value TCP for PcProtocol.

static final PcProtocol UDP

Static value UDP for PcProtocol.

Constructor Summary

Constructor Description
PcProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PcProtocol value.

Method Summary

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

Creates or finds a PcProtocol from its string representation.

static Collection<PcProtocol> values()

Gets known PcProtocol values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ANY

public static final PcProtocol ANY

Static value Any for PcProtocol.

TCP

public static final PcProtocol TCP

Static value TCP for PcProtocol.

UDP

public static final PcProtocol UDP

Static value UDP for PcProtocol.

Constructor Details

PcProtocol

@Deprecated
public PcProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PcProtocol value.

Method Details

fromString

public static PcProtocol fromString(String name)

Creates or finds a PcProtocol from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PcProtocol.

values

public static Collection values()

Gets known PcProtocol values.

Returns:

known PcProtocol values.

Applies to