Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for InvokerRequest (0.12 sec)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

     *
     * @param <O> the type of {@link Options} used for this request, extending the base {@link Options} interface
     *
     * @since 4.0.0
     */
    @Immutable
    @Experimental
    public interface InvokerRequest<O extends Options> {
        /**
         * The parser request this instance was created from.
         */
        @Nonnull
        ParserRequest parserRequest();
    
        /**
         * Shorthand for {@link Logger} to use.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 08:06:47 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

        @SuppressWarnings("MethodLength")
        @Override
        public int invoke(ForkedMavenInvokerRequest invokerRequest) throws InvokerException {
            requireNonNull(invokerRequest);
            validate(invokerRequest);
    
            ArrayList<String> cmdAndArguments = new ArrayList<>();
            cmdAndArguments.add(invokerRequest
                    .installationDirectory()
                    .resolve("bin")
                    .resolve(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

     * This interface is responsible for interpreting the command-line input and constructing
     * the appropriate {@link InvokerRequest} object.
     *
     * @param <R> the type of {@link InvokerRequest} produced by this parser, extending {@link InvokerRequest}
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Parser<R extends InvokerRequest<? extends Options>> {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvoker.java

                super(invoker, invokerRequest);
            }
        }
    
        public DefaultLocalMavenInvoker(ProtoLookup protoLookup) {
            super(protoLookup);
        }
    
        @Override
        protected LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) {
            return new LocalContext(this, invokerRequest);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            R invokerRequest = context.invokerRequest;
            if (invokerRequest.options().help().isPresent()) {
                Consumer<String> writer = determineWriter(context);
                invokerRequest.options().displayHelp(context.invokerRequest.parserRequest(), writer);
                throw new ExitException(0);
            }
            if (invokerRequest.options().showVersionAndExit().isPresent()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java

        protected LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) {
            return residentContext
                    .computeIfAbsent(getContextId(invokerRequest), k -> new LocalContext(this, invokerRequest))
                    .copy(invokerRequest);
        }
    
        protected String getContextId(MavenInvokerRequest<MavenOptions> invokerRequest) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            MavenInvokerRequest<O> invokerRequest = context.invokerRequest;
            Map<String, Object> data = new HashMap<>();
            data.put("plexus", context.lookup.lookup(PlexusContainer.class));
            data.put("workingDirectory", invokerRequest.cwd().toString());
            data.put("systemProperties", toProperties(invokerRequest.systemProperties()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptInvokerRequest.java

     * under the License.
     */
    package org.apache.maven.api.cli.mvnenc;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.cli.InvokerRequest;
    
    /**
     * Represents a request to invoke the Maven encryption tool.
     * This interface extends the general InvokerRequest, specializing it for encryption-related operations.
     *
     * <p>An EncryptInvokerRequest encapsulates all the necessary information needed to perform
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface Invoker<R extends InvokerRequest<? extends Options>> extends AutoCloseable {
        /**
         * Invokes the Maven application using the provided {@link InvokerRequest}.
         * This method is responsible for executing the Maven command or build
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            R invokerRequest = context.invokerRequest;
            if (invokerRequest.coreExtensions().isEmpty()
                    || invokerRequest.coreExtensions().get().isEmpty()) {
                return Collections.emptyList();
            }
    
            List<CoreExtension> extensions = invokerRequest.coreExtensions().get();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top