Parameter Name |
Description |
Input Parameters (set with the macro call) |
"source-properties" |
Defines a shortcut for the request properties 'source-class' and 'properties'.
If this parameter is present inside the request parameters list, the system
will effectively behave as if 'source-class' and 'properties' where set
separately. |
"properties" |
Sets the path to the properties file to load inside the request parameters.
The specified file is retrieved in exactly the same way as if the "source"
parameter would have been used (see Macro reference).
Note: Properties can use the traditional .properties or
the newer .xml format. Format selection is performed by file extension. |
Output Parameters (set by the extension) |
"loadedProperties" |
Is filled with the loaded Properties instance.
Note: All loaded properties are exposed in the standard scope as request properties and are accessible
like any other parameters specified with the macro call.
This additional map based access allows to query properties whose names are not compatible with the variable naming
scheme and it also allows to iterate all loaded properties using $loadedProperties.entrySet(). |
"loadedPropertyKeys" |
Is filled with a sorted, regex-enabled list of property keys (=
new SelectableArrayList<String>(new TreeSet<String>(properties.keySet()));). |
Note: Output parameters are set when this extension is used and can be accessed from
velocity templates using $nameOfOutputParameter |
Implementation "org.tinyjee.maven.dim.extensions.PropertiesLoader":
ApiDoc |
Source
|