EffectiveAdminRuleKind Class

public final class EffectiveAdminRuleKind
extends ExpandableStringEnum<EffectiveAdminRuleKind>

Whether the rule is custom or default.

Field Summary

Modifier and Type Field and Description
static final EffectiveAdminRuleKind CUSTOM

Static value Custom for EffectiveAdminRuleKind.

static final EffectiveAdminRuleKind DEFAULT

Static value Default for EffectiveAdminRuleKind.

Constructor Summary

Constructor Description
EffectiveAdminRuleKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EffectiveAdminRuleKind value.

Method Summary

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

Creates or finds a EffectiveAdminRuleKind from its string representation.

static Collection<EffectiveAdminRuleKind> values()

Gets known EffectiveAdminRuleKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CUSTOM

public static final EffectiveAdminRuleKind CUSTOM

Static value Custom for EffectiveAdminRuleKind.

DEFAULT

public static final EffectiveAdminRuleKind DEFAULT

Static value Default for EffectiveAdminRuleKind.

Constructor Details

EffectiveAdminRuleKind

@Deprecated
public EffectiveAdminRuleKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EffectiveAdminRuleKind value.

Method Details

fromString

public static EffectiveAdminRuleKind fromString(String name)

Creates or finds a EffectiveAdminRuleKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EffectiveAdminRuleKind.

values

public static Collection values()

Gets known EffectiveAdminRuleKind values.

Returns:

known EffectiveAdminRuleKind values.

Applies to