Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 149 for Pojo (0.07 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    public interface Mojo {
        /**
         * Perform whatever build-process behavior this {@code Mojo} implements.
         * This is the main trigger for the {@code Mojo} inside the Maven system,
         * and allows the {@code Mojo} to communicate errors.
         *
         * @throws MojoException if a problem occurs
         */
        void execute();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * This annotation will mark your class as a Mojo, which is the implementation of a goal in a Maven plugin.
     * <p>
     * The mojo can be annotated with {@code org.apache.maven.api.di.*} annotations to
     * control the lifecycle of the mojo itself, and to inject other beans.
     * </p>
     * <p>
     * The mojo class can also be injected with an {@link Execute} annotation to specify a
     * forked lifecycle.
     * </p>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

     * will allow the Mojo to communicate to the outside world through standard Maven channels.
     *
     */
    public interface Mojo {
        /** The component <code>role</code> hint for Plexus container */
        String ROLE = Mojo.class.getName();
    
        /**
         * Perform whatever build-process behavior this <code>Mojo</code> implements.<br>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

       * in which it will attempt to cancel itself.
       *
       * <p>An example use of this method is to convert a serializable object returned from an RPC into
       * a POJO.
       *
       * @param input The future to transform
       * @param function A Function to transform the results of the provided future to the results of
       *     the returned future.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Futures.java

       * in which it will attempt to cancel itself.
       *
       * <p>An example use of this method is to convert a serializable object returned from an RPC into
       * a POJO.
       *
       * @param input The future to transform
       * @param function A Function to transform the results of the provided future to the results of
       *     the returned future.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
  6. maven-di/src/test/java/org/apache/maven/di/impl/InjectorImplTest.java

            assertNotSame(
                    entries.get(0).getValue().getClass(), entries.get(1).getValue().getClass());
    
            InjectMap.MyMojo mojo = injector.getInstance(InjectMap.MyMojo.class);
            assertNotNull(mojo);
            assertNotNull(mojo.services);
            assertEquals(2, mojo.services.size());
        }
    
        static class InjectMap {
    
            interface MyService {}
    
            @Named("foo")
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <description>
                The goal name for the Mojo, that users will reference from the command line to execute the Mojo directly,
                or inside a POM in order to provide Mojo-specific configuration.
              </description>
            </field>
            <field>
              <name>description</name>
              <version>1.0.0+</version>
              <type>String</type>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                    ((ContextEnabled) mojo).setPluginContext(pluginContext);
                }
            }
    
            if (mojo instanceof Mojo) {
                Logger mojoLogger = LoggerFactory.getLogger(mojoDescriptor.getImplementation());
                ((Mojo) mojo).setLog(new MojoLogWrapper(mojoLogger));
            }
    
            if (mojo instanceof Contextualizable) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        /**
         * The goal name for the Mojo, that users will reference from the command line to execute the Mojo directly, or
         * inside a POM in order to provide Mojo-specific configuration.
         */
        private String goal;
    
        /**
         * Defines a default phase to bind a mojo execution to if the user does not explicitly set a phase in the POM.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

        private final Mojo mojo;
    
        private final Throwable cause;
    
        public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo) {
            this(session, project, mojoExecution, mojo, null);
        }
    
        public MojoExecutionEvent(
                MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top