Partager via


ExemptionCategory Class

public final class ExemptionCategory
extends ExpandableStringEnum<ExemptionCategory>

The policy exemption category. Possible values are Waiver and Mitigated.

Field Summary

Modifier and Type Field and Description
static final ExemptionCategory MITIGATED

Static value Mitigated for ExemptionCategory.

static final ExemptionCategory WAIVER

Static value Waiver for ExemptionCategory.

Constructor Summary

Constructor Description
ExemptionCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ExemptionCategory value.

Method Summary

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

Creates or finds a ExemptionCategory from its string representation.

static Collection<ExemptionCategory> values()

Gets known ExemptionCategory values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MITIGATED

public static final ExemptionCategory MITIGATED

Static value Mitigated for ExemptionCategory.

WAIVER

public static final ExemptionCategory WAIVER

Static value Waiver for ExemptionCategory.

Constructor Details

ExemptionCategory

@Deprecated
public ExemptionCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ExemptionCategory value.

Method Details

fromString

public static ExemptionCategory fromString(String name)

Creates or finds a ExemptionCategory from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ExemptionCategory.

values

public static Collection values()

Gets known ExemptionCategory values.

Returns:

known ExemptionCategory values.

Applies to