public class SearchSortParameter extends BaseParameter<SearchSort>
SearchSort
instance from parameters named
"sort" and "reverse".shouldValidate
Constructor and Description |
---|
SearchSortParameter() |
SearchSortParameter(List<String> names,
String defaultValue) |
SearchSortParameter(String defaultValue) |
Modifier and Type | Method and 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))
|
addParameterAlias, findValue, getDefaultValue, getParameter, getParameterValue, setDefaultValue, setParameterNames, setValidate
public SearchSortParameter()
public SearchSortParameter(String defaultValue)
protected SearchSort findObject(String paramValue, MacroExecutionContext ctx) throws ParameterException
BaseParameter
findObject
in class BaseParameter<SearchSort>
ParameterException
Copyright © 2003–2020 Atlassian. All rights reserved.