CreateMode Class

public final class CreateMode
extends ExpandableStringEnum<CreateMode>

Enum to indicate the mode of account creation.

Field Summary

Modifier and Type Field and Description
static final CreateMode DEFAULT

Static value Default for CreateMode.

static final CreateMode RESTORE

Static value Restore for CreateMode.

Constructor Summary

Constructor Description
CreateMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CreateMode value.

Method Summary

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

Creates or finds a CreateMode from its string representation.

static Collection<CreateMode> values()

Gets known CreateMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEFAULT

public static final CreateMode DEFAULT

Static value Default for CreateMode.

RESTORE

public static final CreateMode RESTORE

Static value Restore for CreateMode.

Constructor Details

CreateMode

@Deprecated
public CreateMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CreateMode value.

Method Details

fromString

public static CreateMode fromString(String name)

Creates or finds a CreateMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CreateMode.

values

public static Collection values()

Gets known CreateMode values.

Returns:

known CreateMode values.

Applies to