Package org.forgerock.am.config
Interface ChoiceValues
- All Known Implementing Classes:
ChoiceValues
,SecretIdChoiceValues
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionAbstract method that must be implemented by a class extending this class, and should return the choice values and their corresponding I18N key, for the attribute.getChoiceValues
(Map<String, Object> envParams) Returns the choice values for attribute for the given environment parameters.
-
Method Details
-
getChoiceValues
Abstract method that must be implemented by a class extending this class, and should return the choice values and their corresponding I18N key, for the attribute.- Returns:
- choice values for the attribute as a
java.util.Map
. Key being the choice and the value being the I18N key
-
getChoiceValues
Returns the choice values for attribute for the given environment parameters. The default implementation calls the interfacegetChoiceValues
without the parameter. A class extending this class can override this method to return the choice values and their corresponding I18N key, for the attribute.- Parameters:
envParams
- environment parameters- Returns:
- choice values for the attribute as a
java.util.Map
. Key being the choice and the value being the I18N key
-