T
- type of the field that we can order by (String
or Enum
make most sense here).@PublicApi public final class OrderByRequest<T> extends Object
Note that this has nothing to do with JQL. This class is used in some service methods which provide ordering of their results.
Modifier and Type | Class and Description |
---|---|
static class |
OrderByRequest.Order |
Constructor and Description |
---|
OrderByRequest(T field,
OrderByRequest.Order order) |
Modifier and Type | Method and Description |
---|---|
static <T extends Enum<T>> |
asc(T field) |
static <T extends Enum<T>> |
desc(T field) |
boolean |
equals(Object o) |
T |
getField() |
OrderByRequest.Order |
getOrder() |
int |
hashCode() |
String |
toString() |
public OrderByRequest(T field, OrderByRequest.Order order)
public T getField()
public OrderByRequest.Order getOrder()
public static <T extends Enum<T>> OrderByRequest<T> asc(T field)
public static <T extends Enum<T>> OrderByRequest<T> desc(T field)
Copyright © 2002-2024 Atlassian. All Rights Reserved.