Package org.kohsuke.github
Enum GHContentSearchBuilder.Sort
- java.lang.Object
-
- java.lang.Enum<GHContentSearchBuilder.Sort>
-
- org.kohsuke.github.GHContentSearchBuilder.Sort
-
- All Implemented Interfaces:
Serializable
,Comparable<GHContentSearchBuilder.Sort>
- Enclosing class:
- GHContentSearchBuilder
public static enum GHContentSearchBuilder.Sort extends Enum<GHContentSearchBuilder.Sort>
The enum Sort.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEST_MATCH
The best match.INDEXED
The indexed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GHContentSearchBuilder.Sort
valueOf(String name)
Returns the enum constant of this type with the specified name.static GHContentSearchBuilder.Sort[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEST_MATCH
public static final GHContentSearchBuilder.Sort BEST_MATCH
The best match.
-
INDEXED
public static final GHContentSearchBuilder.Sort INDEXED
The indexed.
-
-
Method Detail
-
values
public static GHContentSearchBuilder.Sort[] 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 (GHContentSearchBuilder.Sort c : GHContentSearchBuilder.Sort.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GHContentSearchBuilder.Sort 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
-
-