RecommendedActionCurrentState Class

public final class RecommendedActionCurrentState
extends ExpandableStringEnum<RecommendedActionCurrentState>

Current state the recommended action is in. Some commonly used states are: Active -> recommended action is active and no action has been taken yet. Pending -> recommended action is approved for and is awaiting execution. Executing -> recommended action is being applied on the user database. Verifying -> recommended action was applied and is being verified of its usefulness by the system. Success -> recommended action was applied and improvement found during verification. Pending Revert -> verification found little or no improvement so recommended action is queued for revert or user has manually reverted. Reverting -> changes made while applying recommended action are being reverted on the user database. Reverted -> successfully reverted the changes made by recommended action on user database. Ignored -> user explicitly ignored/discarded the recommended action.

Field Summary

Modifier and Type Field and Description
static final RecommendedActionCurrentState ACTIVE

Active.

static final RecommendedActionCurrentState ERROR

Error.

static final RecommendedActionCurrentState EXECUTING

Executing.

static final RecommendedActionCurrentState EXPIRED

Expired.

static final RecommendedActionCurrentState IGNORED

Ignored.

static final RecommendedActionCurrentState MONITORING

Monitoring.

static final RecommendedActionCurrentState PENDING

Pending.

static final RecommendedActionCurrentState PENDING_REVERT

PendingRevert.

static final RecommendedActionCurrentState RESOLVED

Resolved.

static final RecommendedActionCurrentState REVERTED

Reverted.

static final RecommendedActionCurrentState REVERTING

Reverting.

static final RecommendedActionCurrentState REVERT_CANCELLED

RevertCancelled.

static final RecommendedActionCurrentState SUCCESS

Success.

static final RecommendedActionCurrentState VERIFYING

Verifying.

Constructor Summary

Constructor Description
RecommendedActionCurrentState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RecommendedActionCurrentState value.

Method Summary

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

Creates or finds a RecommendedActionCurrentState from its string representation.

static Collection<RecommendedActionCurrentState> values()

Gets known RecommendedActionCurrentState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final RecommendedActionCurrentState ACTIVE

Active.

ERROR

public static final RecommendedActionCurrentState ERROR

Error.

EXECUTING

public static final RecommendedActionCurrentState EXECUTING

Executing.

EXPIRED

public static final RecommendedActionCurrentState EXPIRED

Expired.

IGNORED

public static final RecommendedActionCurrentState IGNORED

Ignored.

MONITORING

public static final RecommendedActionCurrentState MONITORING

Monitoring.

PENDING

public static final RecommendedActionCurrentState PENDING

Pending.

PENDING_REVERT

public static final RecommendedActionCurrentState PENDING_REVERT

PendingRevert.

RESOLVED

public static final RecommendedActionCurrentState RESOLVED

Resolved.

REVERTED

public static final RecommendedActionCurrentState REVERTED

Reverted.

REVERTING

public static final RecommendedActionCurrentState REVERTING

Reverting.

REVERT_CANCELLED

public static final RecommendedActionCurrentState REVERT_CANCELLED

RevertCancelled.

SUCCESS

public static final RecommendedActionCurrentState SUCCESS

Success.

VERIFYING

public static final RecommendedActionCurrentState VERIFYING

Verifying.

Constructor Details

RecommendedActionCurrentState

@Deprecated
public RecommendedActionCurrentState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RecommendedActionCurrentState value.

Method Details

fromString

public static RecommendedActionCurrentState fromString(String name)

Creates or finds a RecommendedActionCurrentState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RecommendedActionCurrentState.

values

public static Collection<RecommendedActionCurrentState> values()

Gets known RecommendedActionCurrentState values.

Returns:

known RecommendedActionCurrentState values.

Applies to