Package org.xipki.ca.api.mgmt
Enum CertListOrderBy
- java.lang.Object
-
- java.lang.Enum<CertListOrderBy>
-
- org.xipki.ca.api.mgmt.CertListOrderBy
-
- All Implemented Interfaces:
Serializable,Comparable<CertListOrderBy>
public enum CertListOrderBy extends Enum<CertListOrderBy>
The mode to sort the certificates.- Since:
- 2.1.0
- Author:
- Lijun Liao (xipki)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_AFTERNOT_AFTER_DESCNOT_BEFORENOT_BEFORE_DESCSUBJECTSUBJECT_DESC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertListOrderByforValue(String value)StringgetText()static CertListOrderByvalueOf(String name)Returns the enum constant of this type with the specified name.static CertListOrderBy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_BEFORE
public static final CertListOrderBy NOT_BEFORE
-
NOT_BEFORE_DESC
public static final CertListOrderBy NOT_BEFORE_DESC
-
NOT_AFTER
public static final CertListOrderBy NOT_AFTER
-
NOT_AFTER_DESC
public static final CertListOrderBy NOT_AFTER_DESC
-
SUBJECT
public static final CertListOrderBy SUBJECT
-
SUBJECT_DESC
public static final CertListOrderBy SUBJECT_DESC
-
-
Method Detail
-
values
public static CertListOrderBy[] 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 (CertListOrderBy c : CertListOrderBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CertListOrderBy 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
-
getText
public String getText()
-
forValue
public static CertListOrderBy forValue(String value)
-
-