Class ExtensionQuery.SortClause

java.lang.Object
org.xwiki.extension.repository.search.ExtensionQuery.SortClause
Enclosing class:
ExtensionQuery

public static class ExtensionQuery.SortClause extends Object
The sort criteria.
Version:
$Id: 5af22c7e170f583a271af41a812636819409b36c $
  • Constructor Details

    • SortClause

      public SortClause(String field, ExtensionQuery.ORDER order)
      Parameters:
      field - the name of the field
      order - the order in which extensions should be sorted
  • Method Details

    • getField

      public String getField()
      Returns:
      the name of the field
    • getOrder

      public ExtensionQuery.ORDER getOrder()
      Returns:
      the order in which extensions should be sorted.