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