Package org.pentaho.platform.util
Class JVMParameterProvider
- java.lang.Object
-
- org.pentaho.platform.util.JVMParameterProvider
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IParameterProvider
public class JVMParameterProvider extends Object implements org.pentaho.platform.api.engine.IParameterProvider
-
-
Constructor Summary
Constructors Constructor Description JVMParameterProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
getArrayParameter(String name, Object[] defaultValue)
Date
getDateParameter(String name, Date defaultValue)
Object
getDecimalParameter(String name, Object defaultValue)
BigDecimal
getDecimalParameter(String name, BigDecimal defaultValue)
long
getLongParameter(String name, long defaultValue)
Object
getParameter(String name)
Iterator
getParameterNames()
String
getParameterType(String name)
String[]
getStringArrayParameter(String name, String[] defaultValue)
String
getStringParameter(String name, String defaultValue)
boolean
hasParameter(String name)
-
-
-
Method Detail
-
getStringParameter
public String getStringParameter(String name, String defaultValue)
- Specified by:
getStringParameter
in interfaceorg.pentaho.platform.api.engine.IParameterProvider
-
getLongParameter
public long getLongParameter(String name, long defaultValue)
- Specified by:
getLongParameter
in interfaceorg.pentaho.platform.api.engine.IParameterProvider
-
hasParameter
public boolean hasParameter(String name)
- Specified by:
hasParameter
in interfaceorg.pentaho.platform.api.engine.IParameterProvider
-
getDateParameter
public Date getDateParameter(String name, Date defaultValue)
- Specified by:
getDateParameter
in interfaceorg.pentaho.platform.api.engine.IParameterProvider
-
getParameterNames
public Iterator getParameterNames()
- Specified by:
getParameterNames
in interfaceorg.pentaho.platform.api.engine.IParameterProvider
-
getParameter
public Object getParameter(String name)
- Specified by:
getParameter
in interfaceorg.pentaho.platform.api.engine.IParameterProvider
-
getDecimalParameter
public BigDecimal getDecimalParameter(String name, BigDecimal defaultValue)
- Specified by:
getDecimalParameter
in interfaceorg.pentaho.platform.api.engine.IParameterProvider
-
getArrayParameter
public Object[] getArrayParameter(String name, Object[] defaultValue)
- Specified by:
getArrayParameter
in interfaceorg.pentaho.platform.api.engine.IParameterProvider
-
-