PcStatus Class

public final class PcStatus
extends ExpandableStringEnum<PcStatus>

The status of the packet capture session.

Field Summary

Modifier and Type Field and Description
static final PcStatus ERROR

Error.

static final PcStatus NOT_STARTED

NotStarted.

static final PcStatus RUNNING

Running.

static final PcStatus STOPPED

Stopped.

static final PcStatus UNKNOWN

Unknown.

Constructor Summary

Constructor Description
PcStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PcStatus value.

Method Summary

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

Creates or finds a PcStatus from its string representation.

static Collection<PcStatus> values()

Gets known PcStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ERROR

public static final PcStatus ERROR

Error.

NOT_STARTED

public static final PcStatus NOT_STARTED

NotStarted.

RUNNING

public static final PcStatus RUNNING

Running.

STOPPED

public static final PcStatus STOPPED

Stopped.

UNKNOWN

public static final PcStatus UNKNOWN

Unknown.

Constructor Details

PcStatus

@Deprecated
public PcStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PcStatus value.

Method Details

fromString

public static PcStatus fromString(String name)

Creates or finds a PcStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PcStatus.

values

public static Collection<PcStatus> values()

Gets known PcStatus values.

Returns:

known PcStatus values.

Applies to