|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.macro.params.BaseParameter<java.lang.Integer> com.atlassian.confluence.macro.params.MaxResultsParameter
public class MaxResultsParameter
Parameter that resolves an Integer
as the maximum number
of results to return to a query.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.macro.params.BaseParameter |
---|
shouldValidate |
Constructor Summary | |
---|---|
MaxResultsParameter()
|
|
MaxResultsParameter(java.lang.String defaultValue)
|
Method Summary | |
---|---|
protected java.lang.Integer |
findObject(java.lang.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaxResultsParameter()
public MaxResultsParameter(java.lang.String defaultValue)
Method Detail |
---|
protected java.lang.Integer findObject(java.lang.String paramValue, MacroExecutionContext ctx) throws ParameterException
BaseParameter
findObject
in class BaseParameter<java.lang.Integer>
ParameterException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |