Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getMojoExecution (0.16 sec)

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

        public Optional<Project> getProject() {
            return Optional.ofNullable(session.getProject(delegate.getProject()));
        }
    
        @Override
        public Optional<MojoExecution> getMojoExecution() {
            return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me));
        }
    
        @Override
        public Optional<Exception> getException() {
            return Optional.ofNullable(delegate.getException());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

        /**
         * Gets the current mojo execution (if any).
         *
         * @return the current mojo execution or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<MojoExecution> getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return the exception or {@code empty()} if none
         */
        Optional<Exception> getException();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

         */
        MavenProject getProject();
    
        /**
         * Gets the current mojo execution (if any).
         *
         * @return The current mojo execution or {@code null} if not applicable.
         */
        MojoExecution getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return The exception or {@code null} if none.
         */
        Exception getException();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top