Package org.apache.maven.api.services
Interface TypeRegistry
- All Superinterfaces:
ExtensibleEnumRegistry<Type>,Service
- All Known Implementing Classes:
DefaultTypeRegistry
Access to
Type registry.- Since:
- 4.0.0
-
Method Summary
Methods inherited from interface org.apache.maven.api.services.ExtensibleEnumRegistry
lookup
-
Method Details
-
require
Obtain theTypefrom the specifiedid. If no type is known forid, the registry will create a customTypefor it.- Specified by:
requirein interfaceExtensibleEnumRegistry<Type>- Parameters:
id- the id of the type to retrieve- Returns:
- the type
-