Interface PicocliTestFeature
- All Superinterfaces:
DefaultFeature, io.micronaut.core.naming.Described, Feature, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, TestFeature
- All Known Implementing Classes:
PicocliJunit, PicocliKoTest, PicocliSpock
-
Field Summary
FieldsFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptiondefault intgetOrder()The order of a feature controls the order in which it applies.default booleansupports(ApplicationType applicationType) This method must be implemented to ensure it is only selectable for the desired application types.Methods inherited from interface DefaultFeature
getTargetFrameworkMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface Feature
getCategory, getDescription, getMicronautDocumentation, getName, getThirdPartyDocumentation, getTitle, isCommunity, isPreview, processSelectedFeaturesMethods inherited from interface TestFeature
apply, doApply, getTestFramework, isJunit, isKoTest, isKotlinTestFramework, isSpock, isVisible, shouldApply
-
Field Details
-
PATH
- See Also:
-
-
Method Details
-
getOrder
default int getOrder()Description copied from interface:FeatureThe order of a feature controls the order in which it applies. The order of a feature is important to ensure that any previous work done by other features that may be required is done. SeeFeaturePhasefor a list of phases to choose from.- Specified by:
getOrderin interfaceFeature- Specified by:
getOrderin interfaceio.micronaut.core.order.Ordered- Specified by:
getOrderin interfaceTestFeature- Returns:
- The order of the feature
-
supports
Description copied from interface:FeatureThis method must be implemented to ensure it is only selectable for the desired application types. This method is not used for determining if a default feature should be applied.- Specified by:
supportsin interfaceFeature- Specified by:
supportsin interfaceTestFeature- Parameters:
applicationType- The application type- Returns:
- True if the feature can be selected by the user
-