Package com.jcabi.github
Enum Issues.Qualifier
- java.lang.Object
-
- java.lang.Enum<Issues.Qualifier>
-
- com.jcabi.github.Issues.Qualifier
-
- All Implemented Interfaces:
StringEnum
,Serializable
,Comparable<Issues.Qualifier>
- Enclosing interface:
- Issues
public static enum Issues.Qualifier extends Enum<Issues.Qualifier> implements StringEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNEE
Finds issues that are assigned to a certain user.CREATOR
Finds issues created by a certain user.LABELS
Filters issues based on their labels, as a comma-separated list of label names.MENTIONED
Finds issues that mention a certain user.MILESTONE
Filter issues based on which milestone they are assigned to.SINCE
Filters issues based on date last updated (as an ISO 8601 timestamp).STATE
Filter issues based on whether they're open or closed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
identifier()
Get search qualifier.static Issues.Qualifier
valueOf(String name)
Returns the enum constant of this type with the specified name.static Issues.Qualifier[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MILESTONE
public static final Issues.Qualifier MILESTONE
Filter issues based on which milestone they are assigned to. "none" means no assigned milestone. "*" means any milestone.
-
STATE
public static final Issues.Qualifier STATE
Filter issues based on whether they're open or closed.
-
ASSIGNEE
public static final Issues.Qualifier ASSIGNEE
Finds issues that are assigned to a certain user. "none" means no assigned user. "*" means assigned to any user.
-
CREATOR
public static final Issues.Qualifier CREATOR
Finds issues created by a certain user.
-
MENTIONED
public static final Issues.Qualifier MENTIONED
Finds issues that mention a certain user.
-
LABELS
public static final Issues.Qualifier LABELS
Filters issues based on their labels, as a comma-separated list of label names. An issue must have all of the labels in the list in order to appear in the search results.
-
SINCE
public static final Issues.Qualifier SINCE
Filters issues based on date last updated (as an ISO 8601 timestamp).
-
-
Method Detail
-
values
public static Issues.Qualifier[] 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 (Issues.Qualifier c : Issues.Qualifier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Issues.Qualifier 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
-
identifier
public String identifier()
Get search qualifier.- Specified by:
identifier
in interfaceStringEnum
- Returns:
- String
-
-