Package org.apache.maven.internal.impl
Class DefaultLookup
java.lang.Object
org.apache.maven.internal.impl.DefaultLookup
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription<T> TPerforms a lookup for given typed component.<T> TPerforms a lookup for given typed component.<T> List<T> lookupList(Class<T> type) Performs a collection lookup for given typed components.Performs a collection lookup for given typed components.<T> Optional<T> lookupOptional(Class<T> type) Performs a lookup for optional typed component.<T> Optional<T> lookupOptional(Class<T> type, String name) Performs a lookup for optional typed component. 
- 
Constructor Details
- 
DefaultLookup
@Inject public DefaultLookup(org.codehaus.plexus.PlexusContainer container)  
 - 
 - 
Method Details
- 
lookup
Description copied from interface:LookupPerforms a lookup for given typed component. - 
lookup
Description copied from interface:LookupPerforms a lookup for given typed component. - 
lookupOptional
Description copied from interface:LookupPerforms a lookup for optional typed component.- Specified by:
 lookupOptionalin interfaceLookup- Type Parameters:
 T- The component type.- Parameters:
 type- The component type.- Returns:
 - Optional carrying component or empty optional if no such component.
 
 - 
lookupOptional
Description copied from interface:LookupPerforms a lookup for optional typed component.- Specified by:
 lookupOptionalin interfaceLookup- Type Parameters:
 T- The component type.- Parameters:
 type- The component type.name- The component name.- Returns:
 - Optional carrying component or empty optional if no such component.
 
 - 
lookupList
Description copied from interface:LookupPerforms a collection lookup for given typed components.- Specified by:
 lookupListin interfaceLookup- Type Parameters:
 T- The component type.- Parameters:
 type- The component type.- Returns:
 - The list of components. The list may be empty if no components found.
 
 - 
lookupMap
Description copied from interface:LookupPerforms a collection lookup for given typed components. 
 -