Package com.attivio.sdk.search.relevancy
Enum RelevancyModel.Source
- java.lang.Object
-
- java.lang.Enum<RelevancyModel.Source>
-
- com.attivio.sdk.search.relevancy.RelevancyModel.Source
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RelevancyModel.Source>
- Enclosing class:
- RelevancyModel
public static enum RelevancyModel.Source extends java.lang.Enum<RelevancyModel.Source>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DYNAMIC
Relevancy model was dynamically configured.FAILED
Source indicating that relevancy model training failed.STATIC
Relevancy model is statically configured.TRAINED
Relevancy model was dynamically configured using training data.TRAINING
Ephemeral state indicating this model is currently being trained.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RelevancyModel.Source
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RelevancyModel.Source[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DYNAMIC
public static final RelevancyModel.Source DYNAMIC
Relevancy model was dynamically configured.
-
STATIC
public static final RelevancyModel.Source STATIC
Relevancy model is statically configured.
-
TRAINING
public static final RelevancyModel.Source TRAINING
Ephemeral state indicating this model is currently being trained.
-
TRAINED
public static final RelevancyModel.Source TRAINED
Relevancy model was dynamically configured using training data.
-
FAILED
public static final RelevancyModel.Source FAILED
Source indicating that relevancy model training failed.
-
-
Method Detail
-
values
public static RelevancyModel.Source[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RelevancyModel.Source c : RelevancyModel.Source.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelevancyModel.Source valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-