ActionType Class

public final class ActionType
extends ExpandableStringEnum<ActionType>

Defines the action to take on rule match.

Field Summary

Modifier and Type Field and Description
static final ActionType ALLOW

Static value Allow for ActionType.

static final ActionType ANOMALY_SCORING

Static value AnomalyScoring for ActionType.

static final ActionType BLOCK

Static value Block for ActionType.

static final ActionType LOG

Static value Log for ActionType.

static final ActionType REDIRECT

Static value Redirect for ActionType.

Constructor Summary

Constructor Description
ActionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ActionType value.

Method Summary

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

Creates or finds a ActionType from its string representation.

static Collection<ActionType> values()

Gets known ActionType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOW

public static final ActionType ALLOW

Static value Allow for ActionType.

ANOMALY_SCORING

public static final ActionType ANOMALY_SCORING

Static value AnomalyScoring for ActionType.

BLOCK

public static final ActionType BLOCK

Static value Block for ActionType.

LOG

public static final ActionType LOG

Static value Log for ActionType.

REDIRECT

public static final ActionType REDIRECT

Static value Redirect for ActionType.

Constructor Details

ActionType

@Deprecated
public ActionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ActionType value.

Method Details

fromString

public static ActionType fromString(String name)

Creates or finds a ActionType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ActionType.

values

public static Collection values()

Gets known ActionType values.

Returns:

known ActionType values.

Applies to