Package io.micronaut.starter.api
Class FeatureService
java.lang.Object
io.micronaut.starter.api.FeatureService
- All Implemented Interfaces:
FeatureOperations
Implements the
FeatureOperations interface.- Since:
- 1.0.0
- Author:
- graemerocher
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureService(List<Feature> features, io.micronaut.context.BeanLocator beanLocator, io.micronaut.context.MessageSource messageSource) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetAllFeatures(Locale locale) List all the available features.getFeatures(Locale locale, ApplicationType type) A list of features applicable to the given application type.
-
Constructor Details
-
Method Details
-
getAllFeatures
Description copied from interface:FeatureOperationsList all the available features.- Specified by:
getAllFeaturesin interfaceFeatureOperations- Parameters:
locale- The locale- Returns:
- The available features
-
getFeatures
Description copied from interface:FeatureOperationsA list of features applicable to the given application type.- Specified by:
getFeaturesin interfaceFeatureOperations- Parameters:
locale- The localetype- The type- Returns:
- The features
-