Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 315 for Invoke (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

                Object instance = container.lookup(clazz);
                Method method = clazz.getMethod("prompt", String.class, List.class, String.class);
                return (String) method.invoke(instance, message, possibleValues, defaultReply);
            } catch (Exception e) {
                throw new PrompterException("Unable to call prompter", e);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

         * @throws InvokerException if an error occurs during the invocation process
         */
        int invoke(@Nonnull R invokerRequest) throws InvokerException;
    
        /**
         * Closes and disposes of this {@link Invoker} instance, releasing any resources it may hold.
         * This method is called automatically when using try-with-resources statements.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptInvoker.java

    package org.apache.maven.api.cli.mvnenc;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.InvokerException;
    
    /**
     * Defines the contract for a component responsible for invoking the Maven encryption tool.
     * This interface extends the general Invoker interface, specializing it for encryption-related operations.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java

    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.DefaultMavenParser;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.codehaus.plexus.classworlds.ClassWorld;
    import org.junit.jupiter.api.Disabled;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.CleanupMode;
    import org.junit.jupiter.api.io.TempDir;
    
    /**
     * Local UT.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.DefaultMavenParser;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.codehaus.plexus.classworlds.ClassWorld;
    import org.junit.jupiter.api.Disabled;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.CleanupMode;
    import org.junit.jupiter.api.io.TempDir;
    
    /**
     * Resident UT.
    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. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

            Files.writeString(appJava, appJavaString);
    
            Parser<R> parser = createParser();
            try (Invoker<R> invoker = createInvoker()) {
                for (String goal : goals) {
                    Path logFile = cwd.resolve(goal + "-build.log").toAbsolutePath();
                    int exitCode = invoker.invoke(parser.parse(ParserRequest.mvn(
                                    List.of("-l", logFile.toString(), goal),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/PreconditionsTest.java

            public String toString() {
              throw new AssertionFailedError();
            }
          };
    
      private static class Message {
        boolean invoked;
    
        @Override
        public String toString() {
          assertFalse(invoked);
          invoked = true;
          return "A message";
        }
      }
    
      private static final String FORMAT = "I ate %s pies.";
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/ChecksumHashFunction.java

    import com.google.errorprone.annotations.Immutable;
    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.io.Serializable;
    import java.lang.invoke.MethodHandle;
    import java.lang.invoke.MethodHandles;
    import java.lang.invoke.MethodType;
    import java.lang.reflect.UndeclaredThrowableException;
    import java.nio.ByteBuffer;
    import java.util.zip.Checksum;
    import org.checkerframework.checker.nullness.qual.Nullable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
        assertEquals(1, prepender.times);
      }
    
      public void testConstructor_returning() throws Exception {
        Invokable<?, Prepender> delegate =
            Prepender.constructor(String.class, int.class).returning(Prepender.class);
        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/InvokableTest.java

        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
        assertEquals(1, prepender.times);
      }
    
      public void testConstructor_returning() throws Exception {
        Invokable<?, Prepender> delegate =
            Prepender.constructor(String.class, int.class).returning(Prepender.class);
        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top