Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for on_event (0.06 sec)

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

     * TODO: open this to other events like similar to {@code org.apache.maven.eventspy.EventSpy}
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    public interface Listener {
        void onEvent(@Nonnull Event event);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

        @Inject
        public LegacyArtifactHandlerManager(Map<String, ArtifactHandler> artifactHandlers) {
            this.artifactHandlers = requireNonNull(artifactHandlers);
        }
    
        @Override
        public void onEvent(Object event) {
            if (event instanceof ExecutionEvent) {
                ExecutionEvent executionEvent = (ExecutionEvent) event;
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/promotion/BasePromotionBuildType.kt

    abstract class BasePromotionBuildType(vcsRootId: String, cleanCheckout: Boolean = true) : BuildType() {
        init {
            vcs {
                root(AbsoluteId(vcsRootId))
    
                checkoutMode = CheckoutMode.ON_AGENT
                this.cleanCheckout = cleanCheckout
                showDependenciesChanges = true
            }
    
            requirements {
                requiresOs(Os.LINUX)
                requiresNotEc2Agent()
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 03 00:43:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

            this.usedTypes = new ConcurrentHashMap<>();
            this.manager = nonNull(manager, "artifactHandlerManager");
        }
    
        @Override
        public void onEvent(Object event) {
            if (event instanceof ExecutionEvent) {
                ExecutionEvent executionEvent = (ExecutionEvent) event;
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/GitHubMergeQueueCheckPass.kt

        name = "GitHub Merge Queue Check Pass"
        type = Type.COMPOSITE
    
        vcs {
            root(AbsoluteId(VersionedSettingsBranch.fromDslContext().vcsRootId()))
            checkoutMode = CheckoutMode.ON_AGENT
        }
    
        features {
            enablePullRequestFeature()
            publishBuildStatusToGithub(model)
        }
    
        if (!VersionedSettingsBranch.fromDslContext().isExperimental) {
            triggers.vcs {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 07:23:13 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

        assertThat(callbacks).isEmpty()
      }
    
      private fun consumeEvents(source: String) {
        val callback: ServerSentEventReader.Callback =
          object : ServerSentEventReader.Callback {
            override fun onEvent(
              id: String?,
              type: String?,
              data: String,
            ) {
              callbacks.add(Event(id, type, data))
            }
    
            override fun onRetryChange(timeMs: Long) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            orderedEventSpyDispatcherMock
                    .verify(eventSpyDispatcherMock, times(1))
                    .onEvent(any(ToolchainsBuildingRequest.class));
            orderedEventSpyDispatcherMock
                    .verify(eventSpyDispatcherMock, times(1))
                    .onEvent(any(ToolchainsBuildingResult.class));
        }
    
        @Test
        void resumeFromSelectorIsSuggestedWithoutGroupId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                cliRequest.request.setRepositoryCache(new DefaultRepositoryCache());
            }
    
            eventSpyDispatcher.onEvent(request);
    
            MavenExecutionResult result = maven.execute(request);
    
            eventSpyDispatcher.onEvent(result);
    
            eventSpyDispatcher.close();
    
            if (result.hasExceptions()) {
                ExceptionHandler handler = new DefaultExceptionHandler();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            ReactorReaderSpy(Lookup lookup) {
                this.lookup = lookup;
            }
    
            @Override
            public void init(Context context) throws Exception {}
    
            @Override
            public void onEvent(Object event) throws Exception {
                if (event instanceof ExecutionEvent) {
                    ReactorReader reactorReader = lookup.lookup(ReactorReader.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/extensions.kt

            param("env.BUILD_BRANCH", "%teamcity.build.branch%")
        }
    
        vcs {
            root(AbsoluteId(VersionedSettingsBranch.fromDslContext().vcsRootId()))
            checkoutMode = CheckoutMode.ON_AGENT
            branchFilter = branchesFilterExcluding()
        }
    
        features {
            enablePullRequestFeature()
        }
    
        requirements {
            requiresOs(os)
            requiresArch(os, arch)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top