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
ConstructorDescriptionFeatureService
(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:FeatureOperations
List all the available features.- Specified by:
getAllFeatures
in interfaceFeatureOperations
- Parameters:
locale
- The locale- Returns:
- The available features
-
getFeatures
Description copied from interface:FeatureOperations
A list of features applicable to the given application type.- Specified by:
getFeatures
in interfaceFeatureOperations
- Parameters:
locale
- The localetype
- The type- Returns:
- The features
-