Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for EventType (0.09 sec)

  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,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. 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:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

        for (Entry<Class<?>, Collection<Subscriber>> entry : listenerMethods.asMap().entrySet()) {
          Class<?> eventType = entry.getKey();
          Collection<Subscriber> eventMethodsInListener = entry.getValue();
    
          CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType);
    
          if (eventSubscribers == null) {
            CopyOnWriteArraySet<Subscriber> newSet = new CopyOnWriteArraySet<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

            TransferEvent transferStartedEvent = event(session, resource, TransferEvent.EventType.STARTED);
            TransferEvent transferProgressedEvent = event(session, resource, TransferEvent.EventType.PROGRESSED);
            TransferEvent transferSucceededEvent = event(session, resource, TransferEvent.EventType.SUCCEEDED);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

        public DefaultEvent(InternalMavenSession session, ExecutionEvent delegate) {
            this.session = session;
            this.delegate = delegate;
        }
    
        @Override
        public EventType getType() {
            return EventType.valueOf(delegate.getType().name());
        }
    
        @Override
        public Session getSession() {
            return session;
        }
    
        @Override
        public Optional<Project> getProject() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

     * under the License.
     */
    package org.apache.maven.repository.internal;
    
    import java.lang.reflect.Field;
    
    import org.eclipse.aether.RepositoryEvent;
    import org.eclipse.aether.RepositoryEvent.EventType;
    import org.eclipse.aether.artifact.DefaultArtifact;
    import org.eclipse.aether.impl.ArtifactDescriptorReader;
    import org.eclipse.aether.impl.RepositoryEventDispatcher;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

            .inOrder();
      }
    
      private static Subscriber subscriber(
          EventBus bus, Object target, String methodName, Class<?> eventType) {
        try {
          return Subscriber.create(bus, target, target.getClass().getMethod(methodName, eventType));
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      public final class IntegerSubscriber {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            executor.execute(() -> {
                try {
                    final Object eventType = dataMap.remove(getParamValue(localParams, "field.event_type", "event_type"));
                    if (getParamValue(localParams, "event.create", "create").equals(eventType)
                            || getParamValue(localParams, "event.modify", "modify").equals(eventType)) {
                        // updated file
                        addDocument(localParams, dataMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            }
        }
    
        private void demux(List<Exchange> exchanges) {
            for (Exchange exchange : exchanges) {
                exchange.process(transferEvent -> {
                    TransferEvent.EventType type = transferEvent.getType();
                    try {
                        switch (type) {
                            case INITIATED:
                                delegate.transferInitiated(transferEvent);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

            // this one should block until all processed
            listener.transferSucceeded(new TransferEvent.Builder(session, resource)
                    .setType(TransferEvent.EventType.SUCCEEDED)
                    .build());
    
            StringBuilder message = new StringBuilder("Messages [");
            boolean test = true;
            for (int i = 0; i < 999; i++) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top