ScanState Class

public final class ScanState
extends ExpandableStringEnum<ScanState>

The scan status.

Field Summary

Modifier and Type Field and Description
static final ScanState FAILED

Static value Failed for ScanState.

static final ScanState FAILED_TO_RUN

Static value FailedToRun for ScanState.

static final ScanState IN_PROGRESS

Static value InProgress for ScanState.

static final ScanState PASSED

Static value Passed for ScanState.

Constructor Summary

Constructor Description
ScanState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScanState value.

Method Summary

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

Creates or finds a ScanState from its string representation.

static Collection<ScanState> values()

Gets known ScanState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FAILED

public static final ScanState FAILED

Static value Failed for ScanState.

FAILED_TO_RUN

public static final ScanState FAILED_TO_RUN

Static value FailedToRun for ScanState.

IN_PROGRESS

public static final ScanState IN_PROGRESS

Static value InProgress for ScanState.

PASSED

public static final ScanState PASSED

Static value Passed for ScanState.

Constructor Details

ScanState

@Deprecated
public ScanState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScanState value.

Method Details

fromString

public static ScanState fromString(String name)

Creates or finds a ScanState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScanState.

values

public static Collection values()

Gets known ScanState values.

Returns:

known ScanState values.

Applies to