- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for lookupMap (0.03 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java
} catch (ComponentLookupException e) { throw new LookupException(e); } } @Override public <T> Map<String, T> lookupMap(Class<T> type) { try { return container.lookupMap(type); } catch (ComponentLookupException e) { throw new LookupException(e); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java
* @param <T> The component type. * @throws LookupException if there is some provisioning related issue. */ @Nonnull <T> Map<String, T> lookupMap(Class<T> type);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 10 12:55:54 UTC 2024 - 3.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/SimpleLookup.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java
Map<String, Lifecycle> lifeCycles = myLifecycles.stream().collect(Collectors.toMap(Lifecycle::getId, l -> l)); PlexusContainer mockedPlexusContainer = mock(PlexusContainer.class); when(mockedPlexusContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles); DefaultLifecycles dl = new DefaultLifecycles( new DefaultLifecycleRegistry(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 3.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java
lifeCycles.put(s, lifecycle); } PlexusContainer mockedContainer = mock(PlexusContainer.class); when(mockedContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles); DefaultLifecycleRegistry reg = new DefaultLifecycleRegistry(); return new DefaultLifecycles(reg, new DefaultLookup(mockedContainer)); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java
return lookupOptional(type); } @Override public <T> List<T> lookupList(Class<T> type) { return List.of(); } @Override public <T> Map<String, T> lookupMap(Class<T> type) { return Map.of(); } public static Builder builder() { return new Builder(); } public static class Builder {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java
} @Override protected void lookup(EncryptContext context) throws Exception { if (context.goals == null) { super.lookup(context); context.goals = context.lookup.lookupMap(Goal.class); } } @Override protected int execute(EncryptContext context) throws Exception { try { context.header = new ArrayList<>();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 4.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java
} @Override protected void lookup(UpgradeContext context) throws Exception { if (context.goals == null) { super.lookup(context); context.goals = context.lookup.lookupMap(Goal.class); } } @Override protected int execute(UpgradeContext context) throws Exception { try { context.header = new ArrayList<>();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 4.4K bytes - Viewed (0)