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, setValidate
public MaxResultsParameter()
public MaxResultsParameter(String defaultValue)
protected Integer findObject(String paramValue, MacroExecutionContext ctx) throws ParameterException
BaseParameter
findObject
in class BaseParameter<Integer>
ParameterException
Copyright © 2003–2020 Atlassian. All rights reserved.