com.atlassian.confluence.macro.params
Class SearchSortParameter
java.lang.Object
com.atlassian.confluence.macro.params.BaseParameter<SearchSort>
com.atlassian.confluence.macro.params.SearchSortParameter
- All Implemented Interfaces:
- Parameter<SearchSort>
public class SearchSortParameter
- extends BaseParameter<SearchSort>
Parameter that resolves a SearchSort
instance from parameters named
"sort" and "reverse".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchSortParameter
public SearchSortParameter()
SearchSortParameter
public SearchSortParameter(String defaultValue)
findObject
protected SearchSort findObject(String paramValue,
MacroExecutionContext ctx)
throws ParameterException
- Description copied from class:
BaseParameter
- Responsible for converting a macro parameter string value to its proper object representation (say "1" to new Integer(1))
- Specified by:
findObject
in class BaseParameter<SearchSort>
- Throws:
ParameterException