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