public static enum ListErrataRequest.SortBy extends Enum<ListErrataRequest.SortBy> implements BmcEnum
The field to sort errata by. Only one sort order may be provided. Default order for timeIssued is descending. Default order for name is ascending. If no value is specified timeIssued is default.
Enum Constant and Description |
---|
Name |
TimeIssued |
Modifier and Type | Method and Description |
---|---|
static ListErrataRequest.SortBy |
create(String key) |
String |
getValue() |
static ListErrataRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListErrataRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListErrataRequest.SortBy TimeIssued
public static final ListErrataRequest.SortBy Name
public static ListErrataRequest.SortBy[] values()
for (ListErrataRequest.SortBy c : ListErrataRequest.SortBy.values()) System.out.println(c);
public static ListErrataRequest.SortBy 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 static ListErrataRequest.SortBy create(String key)
Copyright © 2016–2024. All rights reserved.