SelectorKind Class

public final class SelectorKind
extends ExpandableStringEnum<SelectorKind>

The selector kind.

Field Summary

Modifier and Type Field and Description
static final SelectorKind POLICY_DEFINITION_REFERENCE_ID

Static value policyDefinitionReferenceId for SelectorKind.

static final SelectorKind RESOURCE_LOCATION

Static value resourceLocation for SelectorKind.

static final SelectorKind RESOURCE_TYPE

Static value resourceType for SelectorKind.

static final SelectorKind RESOURCE_WITHOUT_LOCATION

Static value resourceWithoutLocation for SelectorKind.

Constructor Summary

Constructor Description
SelectorKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SelectorKind value.

Method Summary

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

Creates or finds a SelectorKind from its string representation.

static Collection<SelectorKind> values()

Gets known SelectorKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

POLICY_DEFINITION_REFERENCE_ID

public static final SelectorKind POLICY_DEFINITION_REFERENCE_ID

Static value policyDefinitionReferenceId for SelectorKind.

RESOURCE_LOCATION

public static final SelectorKind RESOURCE_LOCATION

Static value resourceLocation for SelectorKind.

RESOURCE_TYPE

public static final SelectorKind RESOURCE_TYPE

Static value resourceType for SelectorKind.

RESOURCE_WITHOUT_LOCATION

public static final SelectorKind RESOURCE_WITHOUT_LOCATION

Static value resourceWithoutLocation for SelectorKind.

Constructor Details

SelectorKind

@Deprecated
public SelectorKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SelectorKind value.

Method Details

fromString

public static SelectorKind fromString(String name)

Creates or finds a SelectorKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SelectorKind.

values

public static Collection values()

Gets known SelectorKind values.

Returns:

known SelectorKind values.

Applies to