Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for afterTask (0.1 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/taskgraph/DefaultTaskExecutionGraph.java

        }
    
        @Override
        public void afterTask(final Closure closure) {
            notifyListenerRegistration("TaskExecutionGraph.afterTask", closure);
            taskListeners.add(new ClosureBackedMethodInvocationDispatch("afterExecute", closure));
        }
    
        @Override
        public void afterTask(final Action<Task> action) {
            notifyListenerRegistration("TaskExecutionGraph.afterTask", action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy

            }
            def action = Mock(Action)
    
            final Task a = task("a")
            final Task b = task("b")
    
            when:
            taskGraph.afterTask(closure)
            taskGraph.afterTask(action)
            taskExecutionListeners.source.afterExecute(a, a.state)
            taskExecutionListeners.source.afterExecute(b, b.state)
    
            then:
            1 * closure.call(a)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top