State Class

public final class State
extends ExpandableStringEnum<State>

Aggregative state based on the standard's supported controls states.

Field Summary

Modifier and Type Field and Description
static final State FAILED

At least one supported regulatory compliance control in the given standard has a state of failed.

static final State OFF

Don't send notification on new alerts to the subscription's admins.

static final State ON

Send notification on new alerts to the subscription's admins.

static final State PASSED

All supported regulatory compliance controls in the given standard have a passed state.

static final State SKIPPED

All supported regulatory compliance controls in the given standard have a state of skipped.

static final State UNSUPPORTED

No supported regulatory compliance data for the given standard.

Constructor Summary

Constructor Description
State()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of State value.

Method Summary

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

Creates or finds a State from its string representation.

static Collection<State> values()

Gets known State values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FAILED

public static final State FAILED

At least one supported regulatory compliance control in the given standard has a state of failed.

OFF

public static final State OFF

Don't send notification on new alerts to the subscription's admins.

ON

public static final State ON

Send notification on new alerts to the subscription's admins.

PASSED

public static final State PASSED

All supported regulatory compliance controls in the given standard have a passed state.

SKIPPED

public static final State SKIPPED

All supported regulatory compliance controls in the given standard have a state of skipped.

UNSUPPORTED

public static final State UNSUPPORTED

No supported regulatory compliance data for the given standard.

Constructor Details

State

@Deprecated
public State()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of State value.

Method Details

fromString

public static State fromString(String name)

Creates or finds a State from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding State.

values

public static Collection<State> values()

Gets known State values.

Returns:

known State values.

Applies to