public class MaxResultsParameter extends BaseParameter<Integer>
Integer as the maximum number
of results to return to a query.shouldValidate| Constructor and Description |
|---|
MaxResultsParameter() |
MaxResultsParameter(List<String> names,
String defaultValue) |
MaxResultsParameter(String defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
protected Integer |
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, setValidatepublic MaxResultsParameter()
public MaxResultsParameter(String defaultValue)
protected Integer findObject(String paramValue, MacroExecutionContext ctx) throws ParameterException
BaseParameterfindObject in class BaseParameter<Integer>ParameterExceptionCopyright © 2003–2019 Atlassian. All rights reserved.