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 theType
from the specifiedid
. If no type is known forid
, the registry will create a customType
for it.- Specified by:
require
in interfaceExtensibleEnumRegistry<Type>
- Parameters:
id
- the id of the type to retrieve- Returns:
- the type
-