Package org.ametys.plugins.core.ui.util
Class ParameterEnumeratorHelper
java.lang.Object
org.ametys.plugins.core.ui.util.ParameterEnumeratorHelper
- All Implemented Interfaces:
Component
,Serviceable
Helper for getting entries from a given enumerator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTypedEntries
(String enumeratorRole) Provides the enumerated values with their optional label.void
service
(ServiceManager manager)
-
Field Details
-
ROLE
Avalon role
-
-
Constructor Details
-
ParameterEnumeratorHelper
public ParameterEnumeratorHelper()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getTypedEntries
Provides the enumerated values with their optional label.- Parameters:
enumeratorRole
- enumerator role- Returns:
- the enumerated values and their label.
- Throws:
Exception
- if an error occurs.
-