public static enum Issues.Sort extends Enum<Issues.Sort> implements StringEnum
Enum Constant and Description |
---|
COMMENTS
Number of comments on the issue.
|
CREATED
Issue creation timestamp.
|
UPDATED
Issue last updated timestamp.
|
Modifier and Type | Method and Description |
---|---|
String |
identifier()
Get search results sort field.
|
static Issues.Sort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Issues.Sort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Issues.Sort CREATED
public static final Issues.Sort UPDATED
public static final Issues.Sort COMMENTS
public static Issues.Sort[] values()
for (Issues.Sort c : Issues.Sort.values()) System.out.println(c);
public static Issues.Sort valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String identifier()
identifier
in interface StringEnum
Copyright © 2012–2018 jcabi.com. All rights reserved.