Package org.apache.maven.cling.invoker
Class ProtoLookup
java.lang.Object
org.apache.maven.cling.invoker.ProtoLookup
- All Implemented Interfaces:
org.apache.maven.api.Service
,org.apache.maven.api.services.Lookup
Proto-
Lookup
offer ways to provide early components to invoker.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProtoLookup.Builder
builder()
<T> T
<T> T
<T> List
<T> lookupList
(Class<T> type) <T> Optional
<T> lookupOptional
(Class<T> type) <T> Optional
<T> lookupOptional
(Class<T> type, String name)
-
Method Details
-
lookup
- Specified by:
lookup
in interfaceorg.apache.maven.api.services.Lookup
-
lookup
- Specified by:
lookup
in interfaceorg.apache.maven.api.services.Lookup
-
lookupOptional
- Specified by:
lookupOptional
in interfaceorg.apache.maven.api.services.Lookup
-
lookupOptional
- Specified by:
lookupOptional
in interfaceorg.apache.maven.api.services.Lookup
-
lookupList
- Specified by:
lookupList
in interfaceorg.apache.maven.api.services.Lookup
-
lookupMap
- Specified by:
lookupMap
in interfaceorg.apache.maven.api.services.Lookup
-
builder
-