Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for Pojo (0.07 sec)

  1. platforms/documentation/docs/src/snippets/configurationCache/sharedObjects/tests/sharingObjectsWithConfigurationCache.out

    > Task :checkEquality
    POJO reference equality: true
    Collection reference equality: false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 115 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/configurationCache/sharedObjects/tests/sharingObjectsWithoutConfigurationCache.out

    > Task :checkEquality
    POJO reference equality: true
    Collection reference equality: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 114 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/configurationCache/sharedObjects/groovy/build.gradle

        def objectValue = new StateObject()
        def stringsValue = ["a", "b"] as ArrayList<String>
    
        stateObject = objectValue
        strings = stringsValue
    
        doLast { // <1>
            println("POJO reference equality: ${stateObject === objectValue}") // <2>
            println("Collection reference equality: ${strings === stringsValue}") // <3>
            println("Collection equality: ${strings == stringsValue}") // <4>
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 641 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/configurationCache/sharedObjects/kotlin/build.gradle.kts

    tasks.register<StatefulTask>("checkEquality") {
        val objectValue = StateObject()
        val stringsValue = arrayListOf("a", "b")
    
        stateObject = objectValue
        strings = stringsValue
    
        doLast { // <1>
            println("POJO reference equality: ${stateObject === objectValue}") // <2>
            println("Collection reference equality: ${strings === stringsValue}") // <3>
            println("Collection equality: ${strings == stringsValue}") // <4>
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 657 bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/plugins/Convention.java

     * Convention}, and the properties and methods of the convention object become available as properties and methods of
     * the object which the convention is associated to. A convention object is simply a POJO or POGO. Usually, a {@code
     * Convention} is used by plugins to extend a {@link org.gradle.api.Project} or a {@link org.gradle.api.Task}.</p>
     *
     * @deprecated Use extensions instead. This is scheduled for removal in Gradle 9.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 12 12:01:34 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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