Package org.biouno.unochoice
Interface ScriptableParameter<T>
- All Superinterfaces:
UnoChoiceParameter
- All Known Subinterfaces:
CascadableParameter<T>
- All Known Implementing Classes:
AbstractCascadableParameter
,AbstractScriptableParameter
,CascadeChoiceParameter
,ChoiceParameter
,DynamicReferenceParameter
A parameter that is obtained through the execution of a script.
- Since:
- 0.20
- Author:
- Bruno P. Kinoshita
-
Method Summary
Modifier and TypeMethodDescriptiongetChoices
(Map<Object, Object> parameters) Evaluates a script and returns its result as a Map.
-
Method Details
-
getChoices
Evaluates a script and returns its result as a Map. List values are automatically handled and converted to Maps too.- Parameters:
parameters
- parameters- Returns:
- script result as Map
-