Package com.aspectran.utils.apon
Interface Parameters
- All Known Implementing Classes:
AbstractParameters
,ActionParameters
,AdviceActionParameters
,AdviceParameters
,AppendParameters
,ArrayParameters
,AspectParameters
,AspectranConfig
,AspectranParameters
,BeanParameters
,ChooseWhenParameters
,CommandParameters
,ContentParameters
,ContentsParameters
,ContextAutoReloadConfig
,ContextConfig
,ContextProfilesConfig
,DaemonConfig
,DaemonExecutorConfig
,DaemonPollingConfig
,DescriptionParameters
,DispatchParameters
,EmbedConfig
,EntryParameters
,EnvironmentParameters
,ExceptionParameters
,ExceptionThrownParameters
,ExposalsConfig
,FilterParameters
,ForwardParameters
,ItemHolderParameters
,ItemParameters
,JoinpointParameters
,PointcutParameters
,PointcutQualifierParameters
,RedirectParameters
,RequestParameters
,ResourcePathPatterns
,ResponseParameters
,RootParameters
,ScheduledJobParameters
,ScheduleParameters
,SchedulerConfig
,SchedulerParameters
,SessionFileStoreConfig
,SessionManagerConfig
,SettingParameters
,SettingsParameters
,ShellConfig
,ShellStyleConfig
,SystemConfig
,TemplateParameters
,TransformParameters
,TransletParameters
,TriggerExpressionParameters
,TriggerParameters
,TypeAliasesParameters
,TypeAliasParameters
,VariableParameters
,WebConfig
public interface Parameters
The Interface Parameters.
-
Method Summary
Modifier and TypeMethodDescriptiondescribe()
describe
(boolean details) Returns its real name.getBoolean
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.boolean
getBoolean
(ParameterKey key, boolean defaultValue) Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.getBoolean
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.boolean
getBoolean
(String name, boolean defaultValue) Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.Boolean[]
Return the value for the specified parameter, ornull
if the parameter does not exist.Boolean[]
getBooleanArray
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.Return the value for the specified parameter, ornull
if the parameter does not exist.getBooleanList
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.getDouble
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.double
getDouble
(ParameterKey key, double defaultValue) Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.Return the value for the specified parameter, ornull
if the parameter does not exist.double
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.Double[]
Return the value for the specified parameter, ornull
if the parameter does not exist.Double[]
getDoubleArray
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.Return the value for the specified parameter, ornull
if the parameter does not exist.getDoubleList
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.getFloat
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.float
getFloat
(ParameterKey key, float defaultValue) Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.Return the value for the specified parameter, ornull
if the parameter does not exist.float
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.Float[]
Return the value for the specified parameter, ornull
if the parameter does not exist.Float[]
getFloatArray
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.getFloatList
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.getFloatList
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.getInt
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.int
getInt
(ParameterKey key, int defaultValue) Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.Return the value for the specified parameter, ornull
if the parameter does not exist.int
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.Integer[]
getIntArray
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.Integer[]
getIntArray
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.getIntList
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.getIntList
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.getLong
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.long
getLong
(ParameterKey key, long defaultValue) Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.Return the value for the specified parameter, ornull
if the parameter does not exist.long
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.Long[]
getLongArray
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.Long[]
getLongArray
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.getLongList
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.getLongList
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.getParameter
(ParameterKey key) Returns the Parameter corresponding to the specified parameter definition.getParameter
(String name) Returns the Parameter with the specified name.String[]
Returns all the parameter names associated with this Parameters.Returns all the parameter names associated with this Parameters.<T extends Parameters>
TReturn the value for the specified parameter, ornull
if the parameter does not exist.<T extends Parameters>
TgetParameters
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.<T extends Parameters>
T[]Return the value for the specified parameter, ornull
if the parameter does not exist.<T extends Parameters>
T[]getParametersArray
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.<T extends Parameters>
List<T>Return the value for the specified parameter, ornull
if the parameter does not exist.<T extends Parameters>
List<T>getParametersList
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.getParameterValue
(String name) Returns a map of theParameterValue
s.Returns the parent of the proprietor of this Parameters.Returns the owner of this Parameters.Returns the qualified name.getString
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.getString
(ParameterKey key, String defaultValue) Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.Return the value for the specified parameter, ornull
if the parameter does not exist.Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.String[]
Return the value for the specified parameter, ornull
if the parameter does not exist.String[]
getStringArray
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.Return the value for the specified parameter, ornull
if the parameter does not exist.getStringList
(String name) Return the value for the specified parameter, ornull
if the parameter does not exist.getValue
(ParameterKey key) Return the value for the specified parameter, ornull
if the parameter does not exist.Return the value for the specified parameter, ornull
if the parameter does not exist.boolean
hasParameter
(ParameterKey key) Returns whether the specified parameter exists.boolean
hasParameter
(String name) Returns whether this parameter exists.boolean
hasValue
(ParameterKey key) Returns whether a non-null value is assigned to the specified parameter.boolean
Returns whether a non-null value is assigned to the specified parameter.boolean
isAssigned
(ParameterKey key) Returns whether a value is assigned to the specified parameter.boolean
isAssigned
(String name) Returns whether a value is assigned to the specified parameter.boolean
Returns whether the parameter can be added after the parameters instance is created.<T extends Parameters>
T<T extends Parameters>
TnewParameters
(String name) newParameterValue
(String name, ValueType valueType) newParameterValue
(String name, ValueType valueType, boolean array) void
putAll
(Parameters parameters) void
putValue
(ParameterKey key, Object value) Put a value into the Parameter with the specified parameter definition.void
Put a value into the Parameter with the specified name.void
putValueNonNull
(ParameterKey key, Object value) Put a value of the parameter corresponding to the given parameter definition.void
putValueNonNull
(String name, Object value) Put a value of the parameter corresponding to the given name.void
readFrom
(VariableParameters parameters) void
void
void
void
void
removeValue
(ParameterKey key) Remove the value of this parameter.void
removeValue
(String name) Remove the value of this parameter.void
setActualName
(String actualName) Specifies the actual name of this Parameters.void
setProprietor
(Parameter proprietor) Specifies the owner of this Parameters.void
setValue
(ParameterKey key, Object value) Put a value into the Parameter with the specified parameter definition.void
Put a value into the Parameter with the specified name.<T extends Parameters>
T<T extends Parameters>
TtouchParameters
(String name) void
updateContainer
(Parameters container) Updates the holder of the subparameters belonging to this parameter.
-
Method Details
-
isStructureFixed
boolean isStructureFixed()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
-
getProprietor
Parameter getProprietor()Returns the owner of this Parameters.- Returns:
- the owner of this Parameters
-
setProprietor
Specifies the owner of this Parameters.- Parameters:
proprietor
- the owner of this Parameters
-
getParent
Parameter getParent()Returns the parent of the proprietor of this Parameters.proprietor --> container --> proprietor == parent
- Returns:
- a
Parameter
-
getActualName
String getActualName()Returns its real name. If no name is given, it returns the name given by the owner.- Returns:
- the actual name of this Parameters
-
setActualName
Specifies the actual name of this Parameters.- Parameters:
actualName
- the actual name of this Parameters
-
getQualifiedName
String getQualifiedName()Returns the qualified name.- Returns:
- the qualified name
-
getParameterValue
-
getParameterValueMap
Map<String,ParameterValue> getParameterValueMap()Returns a map of theParameterValue
s.- Returns:
- a map of the
ParameterValue
s
-
getParameterNames
String[] getParameterNames()Returns all the parameter names associated with this Parameters.- Returns:
- an array of all parameter names associated with this Parameters
-
getParameterNameSet
Returns all the parameter names associated with this Parameters.- Returns:
- the Set with all parameter names associated with this Parameters
-
hasParameter
Returns whether this parameter exists.- Parameters:
name
- the name of the parameter to check- Returns:
true
if the specified parameter exists;false
otherwise
-
hasParameter
Returns whether the specified parameter exists.- Parameters:
key
- the parameter definition- Returns:
true
if the specified parameter exists;false
otherwise
-
isAssigned
Returns whether a value is assigned to the specified parameter. Even if a null is assigned, it is valid.- Parameters:
name
- the name of the parameter to check- Returns:
true
if a parameter is assigned a value;false
otherwise
-
isAssigned
Returns whether a value is assigned to the specified parameter. Even if a null is assigned, it is valid.- Parameters:
key
- the parameter definition- Returns:
true
if a parameter is assigned a value;false
otherwise
-
hasValue
Returns whether a non-null value is assigned to the specified parameter.- Parameters:
name
- the name of the parameter to check- Returns:
true
if a non-null value is assigned a value;false
otherwise
-
hasValue
Returns whether a non-null value is assigned to the specified parameter.- Parameters:
key
- the parameter definition- Returns:
true
if a non-null value is assigned a value;false
otherwise
-
getParameter
Returns the Parameter with the specified name.- Parameters:
name
- the parameter name- Returns:
- the Parameter with the specified name, or
null
if it does not exist
-
getParameter
Returns the Parameter corresponding to the specified parameter definition.- Parameters:
key
- the parameter definition- Returns:
- the Parameter corresponding to the specified parameter definition,
or
null
if it does not exist
-
getValue
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
setValue
Put a value into the Parameter with the specified name. If there is an existing value, remove it and put it.- Parameters:
name
- the parameter namevalue
- the value of parameter
-
setValue
Put a value into the Parameter with the specified parameter definition. If there is an existing value, remove it and put it.- Parameters:
key
- the parameter definitionvalue
- the value of parameter
-
putAll
-
putValue
Put a value into the Parameter with the specified name.- Parameters:
name
- the parameter namevalue
- the value of parameter
-
putValue
Put a value into the Parameter with the specified parameter definition.- Parameters:
key
- the parameter definitionvalue
- the value of parameter
-
putValueNonNull
Put a value of the parameter corresponding to the given name. If the value is null, ignore it.- Parameters:
name
- the parameter namevalue
- the value of parameter
-
putValueNonNull
Put a value of the parameter corresponding to the given parameter definition. If the value is null, ignore it.- Parameters:
key
- the parameter definitionvalue
- the value of parameter
-
removeValue
Remove the value of this parameter.- Parameters:
name
- the parameter name
-
removeValue
Remove the value of this parameter.- Parameters:
key
- the parameter key
-
getString
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
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
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getString
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
key
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getStringArray
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getStringList
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getInt
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
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
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getInt
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
key
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getIntArray
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getIntList
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getLong
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
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
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getLong
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
key
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getLongArray
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getLongList
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getFloat
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
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
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getFloat
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
key
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getFloatArray
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getFloatList
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getDouble
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
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
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getDouble
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
key
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getDoubleArray
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getDoubleList
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getBoolean
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
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
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getBoolean
Return the value for the specified parameter, ordefaultValue
if the parameter does not exist.- Parameters:
key
- the parameter definitiondefaultValue
- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getBooleanArray
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getBooleanList
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getParameters
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
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Type Parameters:
T
- the type parameter- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getParametersArray
Return the value for the specified parameter, ornull
if the parameter does not exist.- Type Parameters:
T
- the type parameter- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getParametersList
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
Return the value for the specified parameter, ornull
if the parameter does not exist.- Type Parameters:
T
- the type parameter- Parameters:
key
- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
newParameterValue
-
newParameterValue
-
newParameters
-
newParameters
-
touchParameters
-
touchParameters
-
updateContainer
Updates the holder of the subparameters belonging to this parameter. -
readFrom
- Throws:
AponParseException
-
readFrom
- Throws:
AponParseException
-
readFrom
- Throws:
AponParseException
-
readFrom
- Throws:
AponParseException
-
readFrom
- Throws:
AponParseException
-
describe
String describe() -
describe
-