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 aSearchSort
instance from parameters named "sort" and "reverse".
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.macro.params.BaseParameter
shouldValidate
-
-
Constructor Summary
Constructors Constructor Description SearchSortParameter()
SearchSortParameter(String defaultValue)
SearchSortParameter(List<String> names, String defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SearchSort
findObject(String paramValue, MacroExecutionContext ctx)
Responsible for converting a macro parameter string value to its proper object representation (say "1" to new Integer(1))-
Methods inherited from class com.atlassian.confluence.macro.params.BaseParameter
addParameterAlias, findValue, getDefaultValue, getParameter, getParameterValue, setDefaultValue, setParameterNames, setValidate
-
-
-
-
Method Detail
-
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 classBaseParameter<SearchSort>
- Throws:
ParameterException
-
-