Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for Kevent (0.09 sec)

  1. docs/en/docs/advanced/events.md

    You can add more than one event handler function.
    
    And your application won't start receiving requests until all the `startup` event handlers have completed.
    
    ### `shutdown` event
    
    To add a function that should be run when the application is shutting down, declare it with the event `"shutdown"`:
    
    {* ../../docs_src/events/tutorial002.py hl[6] *}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyRepositoryListener.java

            dispatcher.onEvent(event);
            delegate.artifactInstalling(event);
        }
    
        @Override
        public void artifactResolved(RepositoryEvent event) {
            dispatcher.onEvent(event);
            delegate.artifactResolved(event);
        }
    
        @Override
        public void artifactResolving(RepositoryEvent event) {
            dispatcher.onEvent(event);
            delegate.artifactResolving(event);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyExecutionListener.java

        public void projectSkipped(ExecutionEvent event) {
            dispatcher.onEvent(event);
            delegate.projectSkipped(event);
        }
    
        @Override
        public void projectStarted(ExecutionEvent event) {
            dispatcher.onEvent(event);
            delegate.projectStarted(event);
        }
    
        @Override
        public void projectSucceeded(ExecutionEvent event) {
            dispatcher.onEvent(event);
            delegate.projectSucceeded(event);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionListener.java

        void projectDiscoveryStarted(ExecutionEvent event);
    
        void sessionStarted(ExecutionEvent event);
    
        void sessionEnded(ExecutionEvent event);
    
        void projectSkipped(ExecutionEvent event);
    
        void projectStarted(ExecutionEvent event);
    
        void projectSucceeded(ExecutionEvent event);
    
        void projectFailed(ExecutionEvent event);
    
        void mojoSkipped(ExecutionEvent event);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

            }
    
            ArtifactTransferEvent event = wrap(transferEvent);
            event.setDataBuffer(buffer);
            event.setDataOffset(0);
            event.setDataLength(length);
            event.setTransferredBytes(transferred);
    
            listener.transferProgress(event);
        }
    
        public void transferStarted(TransferEvent transferEvent) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

        /**
         * We are interested in project success events, in which case we call
         * the {@link #installIntoProjectLocalRepository(MavenProject)} method.
         * The mojo started event is also captured to determine the lifecycle
         * phases the project has been through.
         *
         * @param event the execution event
         */
        private void processEvent(ExecutionEvent event) {
            MavenProject project = event.getProject();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

     * events fired during collection.
     *
     * @since 3.9.0
     */
    class ReverseTreeRepositoryListener extends AbstractRepositoryListener {
        @Override
        public void artifactResolved(RepositoryEvent event) {
            requireNonNull(event, "event cannot be null");
    
            if (!isLocalRepositoryArtifactOrMissing(event.getSession(), event.getArtifact())) {
                return;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEventCatapult.java

         * @param event The event to fire, must not be {@code null}.
         */
        void fire(ModelBuildingListener listener, ModelBuildingEvent event);
    
        ModelBuildingEventCatapult BUILD_EXTENSIONS_ASSEMBLED = ModelBuildingListener::buildExtensionsAssembled;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

        }
    
        /**
         * Initializes the spy.
         *
         * @param context The event spy context, never {@code null}.
         */
        void init(Context context) throws Exception;
    
        /**
         * Notifies the spy of some build event/operation.
         *
         * @param event The event, never {@code null}.
         * @see org.apache.maven.settings.building.SettingsBuildingRequest
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

            ForkedProjectStarted,
            ForkedProjectSucceeded,
            ForkedProjectFailed,
        }
    
        /**
         * Gets the type of the event.
         *
         * @return The type of the event, never {@code null}.
         */
        Type getType();
    
        /**
         * Gets the session from which this event originates.
         *
         * @return The current session, never {@code null}.
         */
        MavenSession getSession();
    
        /**
    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