Effect Class

public final class Effect
extends ExpandableStringEnum<Effect>

Expected effect of this assignment (Audit/Exempt/Attest).

Field Summary

Modifier and Type Field and Description
static final Effect ATTEST

Attest.

static final Effect AUDIT

Audit.

static final Effect EXEMPT

Exempt.

Constructor Summary

Constructor Description
Effect()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Effect value.

Method Summary

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

Creates or finds a Effect from its string representation.

static Collection<Effect> values()

Gets known Effect values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ATTEST

public static final Effect ATTEST

Attest.

AUDIT

public static final Effect AUDIT

Audit.

EXEMPT

public static final Effect EXEMPT

Exempt.

Constructor Details

Effect

@Deprecated
public Effect()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Effect value.

Method Details

fromString

public static Effect fromString(String name)

Creates or finds a Effect from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Effect.

values

public static Collection<Effect> values()

Gets known Effect values.

Returns:

known Effect values.

Applies to