Freigeben über


KnowledgeSourceKind Class

public final class KnowledgeSourceKind
extends ExpandableStringEnum<KnowledgeSourceKind>

Knowledge source kind.

Field Summary

Modifier and Type Field and Description
static final KnowledgeSourceKind LABELED_DATA

A labeled data knowledge source.

Constructor Summary

Constructor Description
KnowledgeSourceKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KnowledgeSourceKind value.

Method Summary

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

Creates or finds a KnowledgeSourceKind from its string representation.

static Collection<KnowledgeSourceKind> values()

Gets known KnowledgeSourceKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LABELED_DATA

public static final KnowledgeSourceKind LABELED_DATA

A labeled data knowledge source.

Constructor Details

KnowledgeSourceKind

@Deprecated
public KnowledgeSourceKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of KnowledgeSourceKind value.

Method Details

fromString

public static KnowledgeSourceKind fromString(String name)

Creates or finds a KnowledgeSourceKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding KnowledgeSourceKind.

values

public static Collection<KnowledgeSourceKind> values()

Gets known KnowledgeSourceKind values.

Returns:

known KnowledgeSourceKind values.

Applies to