Package org.frankframework.larva.actions
Class LarvaActionUtils
java.lang.Object
org.frankframework.larva.actions.LarvaActionUtils
Reflection helper to create Larva Actions
When a class is created it will attempt to set the name and disable HTTP SSL capabilities by default
When setting the bean properties it loops through the available setter methods and looks for a matching property.
- Author:
- Niels Meijer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateParametersMapFromParamProperties
(Properties properties) Create a Map for a specific property based on other properties that are the same except for a .param1.name, .param1.value or .param1.valuefile suffix.static Map
<String, IParameter> createParametersMapFromParamProperties
(Properties properties, PipeLineSession session) Create a Map for a specific property based on other properties that are the same except for a .param1.name, .param1.value or .param1.valuefile suffix.static Properties
getSubProperties
(Properties properties, String keyBase)
-
Field Details
-
NAME_KEY
- See Also:
-
PARAM_KEY
- See Also:
-
TYPE_KEY
- See Also:
-
PATTERN_KEY
- See Also:
-
VALUE_KEY
- See Also:
-
VALUEFILE_ABSOLUTEPATH_KEY
- See Also:
-
-
Method Details
-
getSubProperties
-
createParametersMapFromParamProperties
public static Map<String,IParameter> createParametersMapFromParamProperties(Properties properties, PipeLineSession session) Create a Map for a specific property based on other properties that are the same except for a .param1.name, .param1.value or .param1.valuefile suffix. The property with the .name suffix specifies the key for the Map, the property with the value suffix specifies the value for the Map. A property with a the .valuefile suffix can be used as an alternative for a property with a .value suffix to specify the file to read the value for the Map from. More than one param can be specified by using param2, param3 etc.- Parameters:
properties
- Properties object from which to create the mapsession
- PipeLineSession from which to resolve parameter values- Returns:
- A map with parameters
-
createParametersMapFromParamProperties
Create a Map for a specific property based on other properties that are the same except for a .param1.name, .param1.value or .param1.valuefile suffix. The property with the .name suffix specifies the key for the Map, the property with the value suffix specifies the value for the Map. A property with a the .valuefile suffix can be used as an alternative for a property with a .value suffix to specify the file to read the value for the Map from. More than one param can be specified by using param2, param3 etc.- Parameters:
properties
- Properties from which to extract the parameters- Returns:
- A map with parameters
-