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

Static value Attest for Effect.

static final Effect AUDIT

Static value Audit for Effect.

static final Effect EXEMPT

Static value Exempt for Effect.

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

Static value Attest for Effect.

AUDIT

public static final Effect AUDIT

Static value Audit for Effect.

EXEMPT

public static final Effect EXEMPT

Static value Exempt for Effect.

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