com.atlassian.jira.web.bean
Class StatisticAccessorBean.OrderBy

java.lang.Object
  extended by com.atlassian.jira.web.bean.StatisticAccessorBean.OrderBy
Enclosing class:
StatisticAccessorBean

public static class StatisticAccessorBean.OrderBy
extends Object

Enumerated type for ordering of statistics. "natural" ordering denotes ordering by search result keys natural ordering (e.g. assignee ordering) "total" ordering denotes ordering by search result values (e.g. total hits per assignee)


Field Summary
static StatisticAccessorBean.OrderBy NATURAL
           
static StatisticAccessorBean.OrderBy TOTAL
           
 
Method Summary
static StatisticAccessorBean.OrderBy get(String orderBy)
          Get an instance of an OrderBy object
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TOTAL

public static final StatisticAccessorBean.OrderBy TOTAL

NATURAL

public static final StatisticAccessorBean.OrderBy NATURAL
Method Detail

get

public static StatisticAccessorBean.OrderBy get(String orderBy)
Get an instance of an OrderBy object

Parameters:
orderBy - "total" will return a TOTAL instance, anything else (including null) will return a NATURAL instance
Returns:
an OrderBy instance

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.