Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for LookupContext (0.14 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

     */
    public class ShellInvoker extends LookupInvoker<LookupContext> {
    
        public ShellInvoker(Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer) {
            super(protoLookup, contextConsumer);
        }
    
        @Override
        protected LookupContext createContext(InvokerRequest invokerRequest) {
            return new LookupContext(invokerRequest, true, invokerRequest.options().orElse(null));
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java

    import org.apache.maven.cling.invoker.LookupContext;
    import org.jline.reader.LineReader;
    import org.jline.utils.AttributedString;
    import org.jline.utils.AttributedStringBuilder;
    import org.jline.utils.AttributedStyle;
    
    import static eu.maveniverse.domtrip.maven.MavenPomElements.Indentation;
    
    @SuppressWarnings("VisibilityModifier")
    public class UpgradeContext extends LookupContext {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

     *
     * @param <C> The context type.
     */
    public abstract class LookupInvoker<C extends LookupContext> implements Invoker {
        protected final Lookup protoLookup;
    
        @Nullable
        protected final Consumer<LookupContext> contextConsumer;
    
        public LookupInvoker(Lookup protoLookup, @Nullable Consumer<LookupContext> contextConsumer) {
            this.protoLookup = requireNonNull(protoLookup);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java

    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.extensions.CoreExtension;
    import org.apache.maven.api.cli.extensions.InputLocation;
    
    public class PrecedenceCoreExtensionSelector<C extends LookupContext> implements CoreExtensionSelector<C> {
        @Override
        public List<CoreExtension> selectCoreExtensions(LookupInvoker<C> invoker, C context) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 15:32:43 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

         */
        public static UpgradeContext createMockContext(Path workingDirectory, UpgradeOptions options) {
            InvokerRequest request = mock(InvokerRequest.class);
    
            // Mock all required properties for LookupContext constructor
            when(request.cwd()).thenReturn(workingDirectory);
            when(request.installationDirectory()).thenReturn(Paths.get("/maven"));
            when(request.userHomeDirectory()).thenReturn(Paths.get("/home/user"));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top