TokenPasswordName Class

public final class TokenPasswordName
extends ExpandableStringEnum<TokenPasswordName>

The password name "password1" or "password2".

Field Summary

Modifier and Type Field and Description
static final TokenPasswordName PASSWORD1

Static value password1 for TokenPasswordName.

static final TokenPasswordName PASSWORD2

Static value password2 for TokenPasswordName.

Constructor Summary

Constructor Description
TokenPasswordName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TokenPasswordName value.

Method Summary

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

Creates or finds a TokenPasswordName from its string representation.

static Collection<TokenPasswordName> values()

Gets known TokenPasswordName values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PASSWORD1

public static final TokenPasswordName PASSWORD1

Static value password1 for TokenPasswordName.

PASSWORD2

public static final TokenPasswordName PASSWORD2

Static value password2 for TokenPasswordName.

Constructor Details

TokenPasswordName

@Deprecated
public TokenPasswordName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TokenPasswordName value.

Method Details

fromString

public static TokenPasswordName fromString(String name)

Creates or finds a TokenPasswordName from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TokenPasswordName.

values

public static Collection values()

Gets known TokenPasswordName values.

Returns:

known TokenPasswordName values.

Applies to