Package com.yahoo.searchdefinition
Enum RankProfile.MutateOperation.Phase
- java.lang.Object
-
- java.lang.Enum<RankProfile.MutateOperation.Phase>
-
- com.yahoo.searchdefinition.RankProfile.MutateOperation.Phase
-
- All Implemented Interfaces:
Serializable
,Comparable<RankProfile.MutateOperation.Phase>
- Enclosing class:
- RankProfile.MutateOperation
public static enum RankProfile.MutateOperation.Phase extends Enum<RankProfile.MutateOperation.Phase>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description on_first_phase
on_match
on_second_phase
on_summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RankProfile.MutateOperation.Phase
valueOf(String name)
Returns the enum constant of this type with the specified name.static RankProfile.MutateOperation.Phase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
on_match
public static final RankProfile.MutateOperation.Phase on_match
-
on_first_phase
public static final RankProfile.MutateOperation.Phase on_first_phase
-
on_second_phase
public static final RankProfile.MutateOperation.Phase on_second_phase
-
on_summary
public static final RankProfile.MutateOperation.Phase on_summary
-
-
Method Detail
-
values
public static RankProfile.MutateOperation.Phase[] 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 (RankProfile.MutateOperation.Phase c : RankProfile.MutateOperation.Phase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RankProfile.MutateOperation.Phase valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-