PolicyStatus Class

public final class PolicyStatus
extends ExpandableStringEnum<PolicyStatus>

The value that indicates whether the policy is enabled or not.

Field Summary

Modifier and Type Field and Description
static final PolicyStatus DISABLED

Static value disabled for PolicyStatus.

static final PolicyStatus ENABLED

Static value enabled for PolicyStatus.

Constructor Summary

Constructor Description
PolicyStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PolicyStatus value.

Method Summary

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

Creates or finds a PolicyStatus from its string representation.

static Collection<PolicyStatus> values()

Gets known PolicyStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final PolicyStatus DISABLED

Static value disabled for PolicyStatus.

ENABLED

public static final PolicyStatus ENABLED

Static value enabled for PolicyStatus.

Constructor Details

PolicyStatus

@Deprecated
public PolicyStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PolicyStatus value.

Method Details

fromString

public static PolicyStatus fromString(String name)

Creates or finds a PolicyStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PolicyStatus.

values

public static Collection values()

Gets known PolicyStatus values.

Returns:

known PolicyStatus values.

Applies to