Class DefaultTypeProvider
java.lang.Object
org.apache.maven.repository.internal.type.DefaultTypeProvider
- All Implemented Interfaces:
ExtensibleEnumProvider<Type>
,SpiService
,TypeProvider
@Named
@Deprecated(since="4.0.0")
public class DefaultTypeProvider
extends Object
implements TypeProvider
Deprecated.
-
Constructor Details
-
DefaultTypeProvider
public DefaultTypeProvider()Deprecated.
-
-
Method Details
-
provides
Deprecated.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<Type>
- Returns:
- a non-null collection of enum instances to register
-
types
Deprecated.
-