다음을 통해 공유


DefaultAction Class

public final class DefaultAction
extends ExpandableStringEnum<DefaultAction>

The default action of allow or deny when no other rules match.

Field Summary

Modifier and Type Field and Description
static final DefaultAction ALLOW

Static value Allow for DefaultAction.

static final DefaultAction DENY

Static value Deny for DefaultAction.

Constructor Summary

Constructor Description
DefaultAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DefaultAction value.

Method Summary

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

Creates or finds a DefaultAction from its string representation.

static Collection<DefaultAction> values()

Gets known DefaultAction values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOW

public static final DefaultAction ALLOW

Static value Allow for DefaultAction.

DENY

public static final DefaultAction DENY

Static value Deny for DefaultAction.

Constructor Details

DefaultAction

@Deprecated
public DefaultAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DefaultAction value.

Method Details

fromString

public static DefaultAction fromString(String name)

Creates or finds a DefaultAction from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DefaultAction.

values

public static Collection values()

Gets known DefaultAction values.

Returns:

known DefaultAction values.

Applies to