Package com.aspectran.core.util.apon
Interface Parameters
-
- All Known Implementing Classes:
AbstractParameters
,ActionParameters
,AdviceActionParameters
,AdviceParameters
,AppendParameters
,AspectParameters
,AspectranConfig
,AspectranParameters
,BeanParameters
,CallParameters
,ChooseParameters
,ChooseWhenParameters
,CommandParameters
,ConstructorParameters
,ContentParameters
,ContentsParameters
,ContextAutoReloadConfig
,ContextConfig
,ContextProfilesConfig
,DaemonConfig
,DaemonPollerConfig
,DefaultSettingsParameters
,DispatchParameters
,EnvironmentParameters
,ExceptionParameters
,ExceptionThrownParameters
,ExposalsConfig
,FilterParameters
,ForwardParameters
,ItemHolderParameters
,ItemParameters
,JoinpointParameters
,PointcutParameters
,PointcutQualifierParameters
,RedirectParameters
,RequestParameters
,ResponseParameters
,RootParameters
,ScheduledJobParameters
,ScheduleParameters
,SchedulerConfig
,SchedulerParameters
,SessionConfig
,SessionFileStoreConfig
,ShellConfig
,TemplateParameters
,TransformParameters
,TransletParameters
,TriggerParameters
,VariableParameters
,WebConfig
public interface Parameters
The Interface Parameters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearValue(ParameterDefinition parameterDefinition)
void
clearValue(java.lang.String name)
java.lang.String
describe()
java.lang.String
describe(boolean details)
java.lang.Boolean
getBoolean(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.boolean
getBoolean(ParameterDefinition parameterDefinition, boolean defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.Boolean
getBoolean(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.boolean
getBoolean(java.lang.String name, boolean defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.Boolean[]
getBooleanArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.Boolean[]
getBooleanArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.Boolean>
getBooleanList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.Boolean>
getBooleanList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.Double
getDouble(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.double
getDouble(ParameterDefinition parameterDefinition, double defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.Double
getDouble(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.double
getDouble(java.lang.String name, double defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.Double[]
getDoubleArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.Double[]
getDoubleArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.Double>
getDoubleList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.Double>
getDoubleList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.Float
getFloat(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.float
getFloat(ParameterDefinition parameterDefinition, float defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.Float
getFloat(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.float
getFloat(java.lang.String name, float defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.Float[]
getFloatArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.Float[]
getFloatArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.Float>
getFloatList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.Float>
getFloatList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.Parameter
getIdentifier()
Returns the identifierParameter
.java.lang.Integer
getInt(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.int
getInt(ParameterDefinition parameterDefinition, int defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.Integer
getInt(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.int
getInt(java.lang.String name, int defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.Integer[]
getIntArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.Integer[]
getIntArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.Integer>
getIntList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.Integer>
getIntList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.Long
getLong(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.long
getLong(ParameterDefinition parameterDefinition, long defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.Long
getLong(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.long
getLong(java.lang.String name, long defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.Long[]
getLongArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.Long[]
getLongArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.Long>
getLongList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.Long>
getLongList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.Parameter
getParameter(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.Parameter
getParameter(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.String[]
getParameterNames()
Returns all the parameter names associated with this Parameters.java.util.Set<java.lang.String>
getParameterNameSet()
Returns all the parameter names associated with this Parameters.<T extends Parameters>
TgetParameters(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.<T extends Parameters>
TgetParameters(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.<T extends Parameters>
T[]getParametersArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.<T extends Parameters>
T[]getParametersArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.<T extends Parameters>
java.util.List<T>getParametersList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.<T extends Parameters>
java.util.List<T>getParametersList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.Map<java.lang.String,ParameterValue>
getParameterValueMap()
Returns a map of theParameterValue
s.Parameter
getParent()
Returns the parentParameter
of the identifierParameter
.java.lang.String
getQualifiedName()
Returns the qualified name.java.lang.String
getString(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.String
getString(ParameterDefinition parameterDefinition, java.lang.String defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.String
getString(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.String
getString(java.lang.String name, java.lang.String defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.java.lang.String[]
getStringArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.String[]
getStringArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.String>
getStringList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.util.List<java.lang.String>
getStringList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.Object
getValue(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.java.lang.Object
getValue(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.boolean
hasParameter(ParameterDefinition parameterDefinition)
Returns whether the specified parameter exists.boolean
hasParameter(java.lang.String name)
Returns whether this parameter exists.boolean
isAddable()
Returns whether the parameter can be added after the parameters instance is created.boolean
isValueAssigned(ParameterDefinition parameterDefinition)
Returns whether the value is assigned to the specified parameter.boolean
isValueAssigned(java.lang.String name)
Returns whether the value is assigned to the specified parameter.<T extends Parameters>
TnewParameters(ParameterDefinition parameterDefinition)
<T extends Parameters>
TnewParameters(java.lang.String name)
ParameterValue
newParameterValue(java.lang.String name, ParameterValueType parameterValueType)
ParameterValue
newParameterValue(java.lang.String name, ParameterValueType parameterValueType, boolean array)
void
putAll(Parameters parameters)
void
putValue(ParameterDefinition parameterDefinition, java.lang.Object value)
Put a value of the parameter corresponding to the given parameter definition.void
putValue(java.lang.String name, java.lang.Object value)
Put a value of the parameter corresponding to the given name.void
putValueNonNull(ParameterDefinition parameterDefinition, java.lang.Object value)
Put a value of the parameter corresponding to the given parameter definition.void
putValueNonNull(java.lang.String name, java.lang.Object value)
Put a value of the parameter corresponding to the given name.void
readFrom(java.lang.String text)
void
setIdentifier(Parameter identifier)
Specifies the identifierParameter
.void
setIndentString(java.lang.String indentString)
<T extends Parameters>
TtouchParameters(ParameterDefinition parameterDefinition)
<T extends Parameters>
TtouchParameters(java.lang.String name)
void
updateContainer(Parameters parameters)
-
-
-
Method Detail
-
updateContainer
void updateContainer(Parameters parameters)
-
getParameterValueMap
java.util.Map<java.lang.String,ParameterValue> getParameterValueMap()
Returns a map of theParameterValue
s.- Returns:
- a map of the
ParameterValue
s
-
setIdentifier
void setIdentifier(Parameter identifier)
Specifies the identifierParameter
.- Parameters:
identifier
- the identifierParameter
-
getIdentifier
Parameter getIdentifier()
Returns the identifierParameter
.- Returns:
- the identifier
Parameter
-
getQualifiedName
java.lang.String getQualifiedName()
Returns the qualified name.- Returns:
- the qualified name
-
getParent
Parameter getParent()
Returns the parentParameter
of the identifierParameter
.parent = identifier --> container --> identifier
- Returns:
- a
Parameter
-
getParameterNames
java.lang.String[] getParameterNames()
Returns all the parameter names associated with this Parameters.- Returns:
- an array of all parameter names associated with this Parameters
-
getParameterNameSet
java.util.Set<java.lang.String> getParameterNameSet()
Returns all the parameter names associated with this Parameters.- Returns:
- the Set with all parameter names associated with this Parameters
-
hasParameter
boolean hasParameter(java.lang.String name)
Returns whether this parameter exists.- Parameters:
name
- the name of the parameter to check- Returns:
true
if the specified parameter exists;false
otherwise
-
hasParameter
boolean hasParameter(ParameterDefinition parameterDefinition)
Returns whether the specified parameter exists.- Parameters:
parameterDefinition
- the parameter definition- Returns:
true
if the specified parameter exists;false
otherwise
-
isValueAssigned
boolean isValueAssigned(java.lang.String name)
Returns whether the value is assigned to the specified parameter.- Parameters:
name
- the name of the parameter to check- Returns:
true
if a parameter is assigned a value;false
otherwise
-
isValueAssigned
boolean isValueAssigned(ParameterDefinition parameterDefinition)
Returns whether the value is assigned to the specified parameter.- Parameters:
parameterDefinition
- the parameter definition- Returns:
true
if a parameter is assigned a value;false
otherwise
-
getParameter
Parameter getParameter(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getParameter
Parameter getParameter(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getValue
java.lang.Object getValue(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getValue
java.lang.Object getValue(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
putAll
void putAll(Parameters parameters)
-
putValue
void putValue(java.lang.String name, java.lang.Object value)
Put a value of the parameter corresponding to the given name.- Parameters:
name
- the parameter namevalue
- the value of parameter
-
putValue
void putValue(ParameterDefinition parameterDefinition, java.lang.Object value)
Put a value of the parameter corresponding to the given parameter definition.- Parameters:
parameterDefinition
- the parameter definitionvalue
- the value of parameter
-
putValueNonNull
void putValueNonNull(java.lang.String name, java.lang.Object value)
Put a value of the parameter corresponding to the given name. If a value is null then that value is ignored.- Parameters:
name
- the parameter namevalue
- the value of parameter
-
putValueNonNull
void putValueNonNull(ParameterDefinition parameterDefinition, java.lang.Object value)
Put a value of the parameter corresponding to the given parameter definition. If a value is null then that value is ignored.- Parameters:
parameterDefinition
- the parameter definitionvalue
- the value of parameter
-
clearValue
void clearValue(java.lang.String name)
-
clearValue
void clearValue(ParameterDefinition parameterDefinition)
-
getString
java.lang.String getString(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getString
java.lang.String getString(java.lang.String name, java.lang.String defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
name
- the parameter namedefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getStringArray
java.lang.String[] getStringArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getString
java.lang.String getString(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getString
java.lang.String getString(ParameterDefinition parameterDefinition, java.lang.String defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getStringArray
java.lang.String[] getStringArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getStringList
java.util.List<java.lang.String> getStringList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getStringList
java.util.List<java.lang.String> getStringList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getInt
java.lang.Integer getInt(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getInt
int getInt(java.lang.String name, int defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
name
- the parameter namedefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getIntArray
java.lang.Integer[] getIntArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getInt
java.lang.Integer getInt(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getInt
int getInt(ParameterDefinition parameterDefinition, int defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getIntArray
java.lang.Integer[] getIntArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getIntList
java.util.List<java.lang.Integer> getIntList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getIntList
java.util.List<java.lang.Integer> getIntList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getLong
java.lang.Long getLong(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getLong
long getLong(java.lang.String name, long defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
name
- the parameter namedefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getLongArray
java.lang.Long[] getLongArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getLong
java.lang.Long getLong(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getLong
long getLong(ParameterDefinition parameterDefinition, long defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getLongArray
java.lang.Long[] getLongArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getLongList
java.util.List<java.lang.Long> getLongList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getLongList
java.util.List<java.lang.Long> getLongList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getFloat
java.lang.Float getFloat(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getFloat
float getFloat(java.lang.String name, float defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
name
- the parameter namedefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getFloatArray
java.lang.Float[] getFloatArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getFloat
java.lang.Float getFloat(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getFloat
float getFloat(ParameterDefinition parameterDefinition, float defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getFloatArray
java.lang.Float[] getFloatArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getFloatList
java.util.List<java.lang.Float> getFloatList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getFloatList
java.util.List<java.lang.Float> getFloatList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getDouble
java.lang.Double getDouble(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getDouble
double getDouble(java.lang.String name, double defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
name
- the parameter namedefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getDoubleArray
java.lang.Double[] getDoubleArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getDouble
java.lang.Double getDouble(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getDouble
double getDouble(ParameterDefinition parameterDefinition, double defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getDoubleArray
java.lang.Double[] getDoubleArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getDoubleList
java.util.List<java.lang.Double> getDoubleList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getDoubleList
java.util.List<java.lang.Double> getDoubleList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getBoolean
java.lang.Boolean getBoolean(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getBoolean
boolean getBoolean(java.lang.String name, boolean defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
name
- the parameter namedefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getBooleanArray
java.lang.Boolean[] getBooleanArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getBoolean
java.lang.Boolean getBoolean(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getBoolean
boolean getBoolean(ParameterDefinition parameterDefinition, boolean defaultValue)
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getBooleanArray
java.lang.Boolean[] getBooleanArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getBooleanList
java.util.List<java.lang.Boolean> getBooleanList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getBooleanList
java.util.List<java.lang.Boolean> getBooleanList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getParameters
<T extends Parameters> T getParameters(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Type Parameters:
T
- the type parameter- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getParametersArray
<T extends Parameters> T[] getParametersArray(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Type Parameters:
T
- the type parameter- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getParameters
<T extends Parameters> T getParameters(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Type Parameters:
T
- the type parameter- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getParametersArray
<T extends Parameters> T[] getParametersArray(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Type Parameters:
T
- the type parameter- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getParametersList
<T extends Parameters> java.util.List<T> getParametersList(java.lang.String name)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Type Parameters:
T
- the type parameter- Parameters:
name
- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getParametersList
<T extends Parameters> java.util.List<T> getParametersList(ParameterDefinition parameterDefinition)
Return the value for the specified parameter, ornull
if the parameter does not exist.- Type Parameters:
T
- the type parameter- Parameters:
parameterDefinition
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
newParameterValue
ParameterValue newParameterValue(java.lang.String name, ParameterValueType parameterValueType)
-
newParameterValue
ParameterValue newParameterValue(java.lang.String name, ParameterValueType parameterValueType, boolean array)
-
newParameters
<T extends Parameters> T newParameters(java.lang.String name)
-
newParameters
<T extends Parameters> T newParameters(ParameterDefinition parameterDefinition)
-
touchParameters
<T extends Parameters> T touchParameters(java.lang.String name)
-
touchParameters
<T extends Parameters> T touchParameters(ParameterDefinition parameterDefinition)
-
isAddable
boolean isAddable()
Returns whether the parameter can be added after the parameters instance is created.- Returns:
true
if the parameter can be added after the parameters instance is created, otherwisefalse
-
describe
java.lang.String describe()
-
describe
java.lang.String describe(boolean details)
-
setIndentString
void setIndentString(java.lang.String indentString)
-
readFrom
void readFrom(java.lang.String text)
-
-