Class OrgPolicySystemDataFormatter
java.lang.Object
de.aristaflow.adept2.model.common.systemdata.AbstractSystemDataFormatter
de.aristaflow.adept2.model.orgmodel.OrgPolicySystemDataFormatter
- All Implemented Interfaces:
SystemDataFormatter
A
SystemDataFormatter
that knows how to format parameter values for org. policies (either used as
values in selections or for dynamic entity expressions).- Author:
- Patrick Schmidt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFormats the given parameterised string according to the needs of theSystemDataConsumerit is used by.Methods inherited from class de.aristaflow.adept2.model.common.systemdata.AbstractSystemDataFormatter
ensureCorrectType, ensureValuePresent, format
-
Constructor Details
-
OrgPolicySystemDataFormatter
public OrgPolicySystemDataFormatter()
-
-
Method Details
-
format
public String format(String parameterisedString, Map<String, Serializable> parameterValues, Locale locale) Description copied from interface:SystemDataFormatterFormats the given parameterised string according to the needs of theSystemDataConsumerit is used by.- Parameters:
parameterisedString- the parameterised string to be formattedparameterValues- map containing values for all parameters referenced in the parameterised stringlocale- the locale used to format the string; may benull- Returns:
- the formatted string
-