|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.api.web.FilterColumn
public final class FilterColumn
Definition of a Filter
column.
Field Summary | |
---|---|
static String |
ASC
|
static String |
DESC
|
static Set<String> |
DIRECTIONS
|
Method Summary | |
---|---|
static FilterColumn |
create(String family,
String key,
String sortDirection,
boolean variation)
Creates a new FilterColumn . |
String |
getFamily()
Get the the column's family. |
String |
getKey()
Get the the column's key. |
String |
getSortDirection()
Get the the column's sort direction. |
boolean |
isVariation()
A column can be based on the variation of a value rather than on the value itself. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ASC
public static final String DESC
public static final Set<String> DIRECTIONS
Method Detail |
---|
public static FilterColumn create(String family, String key, String sortDirection, boolean variation)
FilterColumn
.
Valid values for the sortDirection
are #ASC
, #DESC
When the @{see Filter} is persisted, a validation is made on the family
and the key
.
They should point to a valid column description.
IllegalArgumentException
- if sortDirection
is not validpublic String getFamily()
public String getKey()
public String getSortDirection()
public boolean isVariation()
true
when the variation is used rather than the value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |