ActionType Class

public final class ActionType
extends ExpandableStringEnum<ActionType>

The type of action to take.

Field Summary

Modifier and Type Field and Description
static final ActionType ALERT

Static value Alert for ActionType.

static final ActionType ALLOW

Static value Allow for ActionType.

static final ActionType BLOCK

Static value Block 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

ALERT

public static final ActionType ALERT

Static value Alert for ActionType.

ALLOW

public static final ActionType ALLOW

Static value Allow for ActionType.

BLOCK

public static final ActionType BLOCK

Static value Block 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<ActionType> values()

Gets known ActionType values.

Returns:

known ActionType values.

Applies to