Confirmation Class

public final class Confirmation
extends ExpandableStringEnum<Confirmation>

Determines the type of confirmation e-mail that will be sent to the newly created user.

Field Summary

Modifier and Type Field and Description
static final Confirmation INVITE

Static value invite for Confirmation.

static final Confirmation SIGNUP

Static value signup for Confirmation.

Constructor Summary

Constructor Description
Confirmation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Confirmation value.

Method Summary

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

Creates or finds a Confirmation from its string representation.

static Collection<Confirmation> values()

Gets known Confirmation values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

INVITE

public static final Confirmation INVITE

Static value invite for Confirmation.

SIGNUP

public static final Confirmation SIGNUP

Static value signup for Confirmation.

Constructor Details

Confirmation

@Deprecated
public Confirmation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Confirmation value.

Method Details

fromString

public static Confirmation fromString(String name)

Creates or finds a Confirmation from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Confirmation.

values

public static Collection values()

Gets known Confirmation values.

Returns:

known Confirmation values.

Applies to