Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 294 for Consumer (0.04 sec)

  1. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Consumer.java

     * <p>
     * A type can be marked {@link Consumer} or {@link Provider} but not both. A type is assumed to be
     * {@link Consumer} if it is not marked either {@link Consumer} or {@link Provider}.
     * <p>
     * A package can be marked {@link Consumer}. In this case, all types in the package are considered
     * to be a provider type regardless of whether they are marked {@link Consumer} or {@link Provider}.
     *
     * @see Provider
     * @since 4.0.0
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                }
                for (Artifact consumer : consumers) {
                    result.remove(consumer);
                    // Replace the consumer POM as the main POM (no classifier)
                    result.add(new DefaultArtifact(
                            consumer.getGroupId(),
                            consumer.getArtifactId(),
                            "",
                            consumer.getExtension(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingOutputStream.java

    import java.io.PrintStream;
    import java.util.function.Consumer;
    
    public class LoggingOutputStream extends FilterOutputStream {
    
        static final byte[] LINE_SEP = System.lineSeparator().getBytes();
    
        final EolBaos buf;
        final Consumer<String> consumer;
    
        public LoggingOutputStream(Consumer<String> consumer) {
            this(new EolBaos(), consumer);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 12:31:43 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            private final TransferEvent event;
    
            private Exchange(TransferEvent event) {
                this.event = event;
            }
    
            public void process(Consumer<TransferEvent> consumer) {
                consumer.accept(event);
            }
    
            public void waitForProcessed() throws InterruptedException {
                // nothing, is async
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

     *       This allows modern features like mixins to be preserved in the consumer POM.</li>
     * </ul>
     * <p>
     * <b>Mixin Handling</b>: Mixins are only supported in model version 4.2.0 or later. If a POM contains mixins:
     * <ul>
     *   <li>Setting {@code preserve.model.version=true} preserves them in the consumer POM with model version 4.2.0</li>
     *   <li>Setting {@code maven.consumer.pom.flatten=true} removes them during transformation</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/MavenArtifactProperties.java

         * consumer project.
         * <p>
         * Note: This property is about "build path", whatever it means in the scope of the consumer project. It is NOT
         * about Java classpath or anything alike. How artifact is being consumed depends heavily on the consumer project.
         * Resolver is and will remain agnostic of consumer project use cases.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * <li>{@link FunctionalInterface}: Denotes that this is a functional interface,
     * allowing implementations as lambda expressions or method references.</li>
     * <li>{@link Consumer}: Signifies that this type is intended to be implemented
     * or extended by Maven plugins or extensions and consumed by Maven itself.</li>
     * <li>{@link ThreadSafe}: Implies that implementations of this interface must
     * be safe to invoke from multiple threads concurrently.</li>
     * </ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

         * @param consumer The callback.
         * @return The promise.
         */
        public Promise then(final Consumer<RESPONSE> consumer) {
            return promise.then(consumer);
        }
    
        /**
         * Registers a callback to be executed when the computation fails.
         * @param consumer The callback.
         * @return The promise.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

         *
         * @param src The source Bean. Must not be {@literal null}.
         * @param dest The destination Bean. Must not be {@literal null}.
         * @param option The consumer for copy options.
         */
        public static void copyBeanToBean(final Object src, final Object dest, final Consumer<CopyOptions> option) {
            copyBeanToBean(src, dest, buildCopyOptions(option));
        }
    
        /**
         * Copies properties from one Bean to another Bean.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DosErrorTest.java

            for (int dos : inputs) {
                int nt = findNtStatusOrMinusOne(dos);
                if (nt != -1) {
                    consumer.accept(dos, nt);
                }
            }
    
            // Assert: consumer called exactly for the 3 known codes, with the right arguments
            ArgumentCaptor<Integer> dosCaptor = ArgumentCaptor.forClass(Integer.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top