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

Static value Error for PcStatus.

static final PcStatus NOT_STARTED

Static value NotStarted for PcStatus.

static final PcStatus RUNNING

Static value Running for PcStatus.

static final PcStatus STOPPED

Static value Stopped for PcStatus.

static final PcStatus UNKNOWN

Static value Unknown for PcStatus.

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

Static value Error for PcStatus.

NOT_STARTED

public static final PcStatus NOT_STARTED

Static value NotStarted for PcStatus.

RUNNING

public static final PcStatus RUNNING

Static value Running for PcStatus.

STOPPED

public static final PcStatus STOPPED

Static value Stopped for PcStatus.

UNKNOWN

public static final PcStatus UNKNOWN

Static value Unknown for PcStatus.

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 values()

Gets known PcStatus values.

Returns:

known PcStatus values.

Applies to