Class StaticListParameter
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.parameters.AbstractParameter
-
- org.pentaho.reporting.engine.classic.core.parameters.StaticListParameter
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ListParameter
,ParameterDefinitionEntry
@Deprecated public class StaticListParameter extends AbstractParameter implements ListParameter
Deprecated.This class is not used anywhere and you can get the same functionality via a default-list-parameter and a table-datasource.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StaticListParameter(String name, boolean allowMultiSelection, boolean strictValueCheck, Class valueType)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addValues(Object key, Object value)
Deprecated.Object
getDefaultValue(ParameterContext context)
Deprecated.ParameterValues
getValues(ParameterContext context)
Deprecated.boolean
isAllowMultiSelection()
Deprecated.boolean
isStrictValueCheck()
Deprecated.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.parameters.AbstractParameter
clone, getDefaultValue, getName, getParameterAttribute, getParameterAttribute, getParameterAttributeNames, getParameterAttributeNamespaces, getRole, getValueType, isDeprecated, isHidden, isMandatory, setDefaultValue, setDeprecated, setHidden, setMandatory, setParameterAttribute, setRole, setValueType
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.parameters.ParameterDefinitionEntry
clone, getName, getParameterAttribute, getParameterAttributeNames, getParameterAttributeNamespaces, getTranslatedParameterAttribute, getValueType, isMandatory
-
-
-
-
Method Detail
-
isAllowMultiSelection
public boolean isAllowMultiSelection()
Deprecated.- Specified by:
isAllowMultiSelection
in interfaceListParameter
-
isStrictValueCheck
public boolean isStrictValueCheck()
Deprecated.- Specified by:
isStrictValueCheck
in interfaceListParameter
-
getValues
public ParameterValues getValues(ParameterContext context) throws ReportDataFactoryException
Deprecated.- Specified by:
getValues
in interfaceListParameter
- Throws:
ReportDataFactoryException
-
getDefaultValue
public Object getDefaultValue(ParameterContext context) throws ReportDataFactoryException
Deprecated.- Specified by:
getDefaultValue
in interfaceParameterDefinitionEntry
- Overrides:
getDefaultValue
in classAbstractParameter
- Throws:
ReportDataFactoryException
-
-