Class DefaultLifecycleRegistry.LifecycleWrapperProvider
java.lang.Object
org.apache.maven.internal.impl.DefaultLifecycleRegistry.LifecycleWrapperProvider
- All Implemented Interfaces:
ExtensibleEnumProvider<Lifecycle>
,LifecycleProvider
,SpiService
- Enclosing class:
DefaultLifecycleRegistry
@Named
@Singleton
public static class DefaultLifecycleRegistry.LifecycleWrapperProvider
extends Object
implements LifecycleProvider
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LifecycleWrapperProvider
@Inject public LifecycleWrapperProvider(org.codehaus.plexus.PlexusContainer container)
-
-
Method Details
-
provides
Description copied from interface:ExtensibleEnumProvider
Provides new values for the extensible enum.This method is called by Maven during initialization to collect all custom enum values that should be registered. The returned collection should contain all the enum values that this provider wants to contribute.
The values returned by this method should be created using the appropriate factory methods for the specific enum type, such as
language()
,projectScope()
, orpathScope()
.- Specified by:
provides
in interfaceExtensibleEnumProvider<Lifecycle>
- Returns:
- a non-null collection of enum instances to register
-