public final enum


extends Enum<E extends Enum<E>>
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.query.order.SortOrder

Class Overview

An enumeration the defines the possible ordering for a Sort.


Enum Values
SortOrder  ASC  The ascending order. 
SortOrder  DESC  The descending order. 
Public Methods
static SortOrder parseString(String value)
Find the SortOrder represented in the passed string.
static SortOrder valueOf(String name)
final static SortOrder[] values()
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final SortOrder ASC

The ascending order.

public static final SortOrder DESC

The descending order.

Public Methods

public static SortOrder parseString (String value)

Find the SortOrder represented in the passed string. The matching is based on the names of the value in the enumeration. All matching is done in a case insensitive manner. The order ASC will be returned if no match is found.

value the string to parse.
  • the parsed SortOrder.

public static SortOrder valueOf (String name)

public static final SortOrder[] values ()