Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for eventType (0.21 seconds)

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

     */
    package org.apache.maven.api;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The possible types of execution events.
     *
     * @since 4.0.0
     */
    @Experimental
    public enum EventType {
        PROJECT_DISCOVERY_STARTED,
        SESSION_STARTED,
        SESSION_ENDED,
        PROJECT_SKIPPED,
        PROJECT_STARTED,
        PROJECT_SUCCEEDED,
        PROJECT_FAILED,
        MOJO_SKIPPED,
        MOJO_STARTED,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

            this.session = session;
            this.delegate = delegate;
            this.eventType = eventType;
        }
    
        @Override
        public EventType getType() {
            return eventType;
        }
    
        @Override
        public Session getSession() {
            return session;
        }
    
        @Override
        public Optional<Project> getProject() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication success event");
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event");
            assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

            this.requestType = requestType;
        }
    
        /**
         * @return Returns the eventType.
         */
        public int getEventType() {
            return eventType;
        }
    
        /**
         * @param eventType The eventType to set.
         */
        public void setEventType(final int eventType) {
            switch (eventType) {
                case TRANSFER_INITIATED:
                    break;
                case TRANSFER_STARTED:
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

        @Test
        void testDifferentEventTypes() {
            for (WitnessEventType eventType : WitnessEventType.values()) {
                WitnessNotification testNotification = new WitnessNotification(eventType, "Resource" + eventType.getValue());
                assertEquals(eventType, testNotification.getEventType());
                assertEquals("Resource" + eventType.getValue(), testNotification.getResourceName());
            }
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEventCatapult.java

        @Override
        public void fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution) {
            fire(eventType, session, mojoExecution, null);
        }
    
        @Override
        public void fire(
                ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessNotification.java

         *
         * @return the event type
         */
        public WitnessEventType getEventType() {
            return eventType;
        }
    
        /**
         * Sets the event type.
         *
         * @param eventType the event type
         */
        public void setEventType(WitnessEventType eventType) {
            this.eventType = eventType;
        }
    
        /**
         * Gets the resource name.
         *
         * @return the resource name
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

                        InternalMavenSession.from(ee.getSession().getSession());
                EventType eventType = convert(ee.getType());
                Collection<Listener> listeners = session.getListeners();
                if (!listeners.isEmpty()) {
                    Event event = new DefaultEvent(session, ee, eventType);
                    for (Listener listener : listeners) {
                        listener.onEvent(event);
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionEventCatapult.java

     * deleted without prior notice.
     *
     */
    public interface ExecutionEventCatapult {
    
        void fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution);
    
        void fire(ExecutionEvent.Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/witness/MockWitnessService.java

         *
         * @param eventType the event type
         * @param resourceName the resource name
         */
        public void sendNotification(WitnessEventType eventType, String resourceName) {
            // In a real implementation, this would send notifications to registered clients
            // For the mock, we just log it
            log.info("Mock sending notification: {} for resource: {}", eventType, resourceName);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top