LearnedType Class

public final class LearnedType
extends ExpandableStringEnum<LearnedType>

The prefix learned type.

Field Summary

Modifier and Type Field and Description
static final LearnedType NONE

Static value None for LearnedType.

static final LearnedType VIA_SERVICE_PROVIDER

Static value ViaServiceProvider for LearnedType.

static final LearnedType VIA_SESSION

Static value ViaSession for LearnedType.

Constructor Summary

Constructor Description
LearnedType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LearnedType value.

Method Summary

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

Creates or finds a LearnedType from its string representation.

static Collection<LearnedType> values()

Gets known LearnedType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NONE

public static final LearnedType NONE

Static value None for LearnedType.

VIA_SERVICE_PROVIDER

public static final LearnedType VIA_SERVICE_PROVIDER

Static value ViaServiceProvider for LearnedType.

VIA_SESSION

public static final LearnedType VIA_SESSION

Static value ViaSession for LearnedType.

Constructor Details

LearnedType

@Deprecated
public LearnedType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of LearnedType value.

Method Details

fromString

public static LearnedType fromString(String name)

Creates or finds a LearnedType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding LearnedType.

values

public static Collection values()

Gets known LearnedType values.

Returns:

known LearnedType values.

Applies to