Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for InvokerRequest (0.1 sec)

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

         *
         * @param invokerRequest the request containing all necessary information for the Maven invocation
         * @return an integer representing the exit code of the Maven invocation (0 typically indicates success)
         * @throws InvokerException if an error occurs during the Maven invocation process
         */
        @Override
        int invoke(@Nonnull R invokerRequest) throws InvokerException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

                if (context.invokerRequest.options().goals().isEmpty()
                        || context.invokerRequest.options().goals().get().size() != 1) {
                    return badGoalsErrorMessage("No goal or multiple goals specified, specify only one goal.", context);
                }
    
                String goalName = context.invokerRequest.options().goals().get().get(0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenInvokerRequest.java

     * under the License.
     */
    package org.apache.maven.api.cli.mvn;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.cli.InvokerRequest;
    
    /**
     * Represents a request to invoke Maven.
     * This interface extends the general {@link InvokerRequest}, specializing it for Maven-specific operations.
     *
     * <p>A {@link MavenInvokerRequest} 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)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsuleFactory.java

    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.Options;
    
    /**
     * Container capsule factory.
     *
     * @param <O> the options type
     * @param <R> the invoker request type
     * @param <C> the invoker context type
     */
    public interface ContainerCapsuleFactory<
            O extends Options, R extends InvokerRequest<O>, C extends LookupInvoker.LookupInvokerContext<O, R, C>> {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

     * under the License.
     */
    package org.apache.maven.cling;
    
    import java.io.IOException;
    
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.InvokerException;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.ParserException;
    import org.codehaus.plexus.classworlds.ClassWorld;
    
    import static java.util.Objects.requireNonNull;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptInvoker.java

         *
         * @param invokerRequest the request containing all necessary information for the encryption invocation
         * @return an integer representing the exit code of the invocation (0 typically indicates success)
         * @throws InvokerException if an error occurs during the encryption process
         */
        @Override
        int invoke(EncryptInvokerRequest invokerRequest) throws InvokerException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.ParserRequest;
    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    import static java.util.Objects.requireNonNull;
    
    public abstract class BaseInvokerRequest<T extends Options> implements InvokerRequest<T> {
        private final ParserRequest parserRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

            context.addInHeader("");
    
            ConsolePrompt prompt = context.prompt;
            boolean force = context.invokerRequest.options().force().orElse(false);
            boolean yes = context.invokerRequest.options().yes().orElse(false);
    
            if (configExists() && !force) {
                context.terminal
                        .writer()
                        .println(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

    import java.util.Map;
    import java.util.Properties;
    import java.util.function.Function;
    
    import org.apache.maven.api.Constants;
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.cli.InvokerRequest;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.ParserException;
    import org.apache.maven.api.cli.ParserRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

        protected boolean validateConfiguration(DefaultEncryptInvoker.LocalContext context) {
            SecDispatcher.ValidationResponse response = secDispatcher.validateConfiguration();
            if (!response.isValid() || context.invokerRequest.options().verbose().orElse(false)) {
                dumpResponse(context, "", response);
            }
            return response.isValid();
        }
    
        protected void dumpResponse(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top