Class EnumOptionFetcher<T>
java.lang.Object
io.micronaut.views.fields.fetchers.EnumOptionFetcher<T>
- Type Parameters:
 T- the field type
- All Implemented Interfaces:
 OptionFetcher<T>
OptionFetcher implementation for Enums.- Since:
 - 4.1.0
 - Author:
 - Sergio del Amo
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
EnumOptionFetcher
public EnumOptionFetcher() 
 - 
 - 
Method Details
- 
generate
- Specified by:
 generatein interfaceOptionFetcher<T>- Parameters:
 type- The Field Type- Returns:
 - A list of options
 
 - 
generate
- Specified by:
 generatein interfaceOptionFetcher<T>- Parameters:
 instance- The Field instance- Returns:
 - A list of options
 
 
 -