Package org.apache.maven.internal.impl
Class DefaultTypeRegistry
java.lang.Object
org.apache.maven.eventspy.AbstractEventSpy
org.apache.maven.internal.impl.DefaultTypeRegistry
- All Implemented Interfaces:
Service,TypeRegistry,EventSpy
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.maven.eventspy.EventSpy
EventSpy.Context -
Constructor Summary
ConstructorsConstructorDescriptionDefaultTypeRegistry(Map<String, Type> types, LegacyArtifactHandlerManager manager) -
Method Summary
Methods inherited from class org.apache.maven.eventspy.AbstractEventSpy
close, init
-
Constructor Details
-
DefaultTypeRegistry
-
-
Method Details
-
onEvent
Description copied from interface:EventSpyNotifies the spy of some build event/operation.- Specified by:
onEventin interfaceEventSpy- Overrides:
onEventin classAbstractEventSpy- Parameters:
event- The event, nevernull.- See Also:
-
getType
Description copied from interface:TypeRegistryObtain theTypefrom the specifiedid. If no type is known forid, the registry will create a customTypefor it.- Specified by:
getTypein interfaceTypeRegistry- Parameters:
id- the id of the type to retrieve- Returns:
- the type
-