Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,870 for actors (0.22 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractTaskSpec.groovy

            setup:
            def task = createTask("task")
            when:
            def actions = task.actions
            and:
            def action = Mock(Action)
    
            actions.add(action)
            then:
            task.actions.size() == 1
            actions.size() == 1
        }
    
        def "can detect tasks with custom actions added"() {
            when:
            def task = createTask("task")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 29 22:32:34 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DuplicateHandlingCopyActionExecutorTest.groovy

                }
                fileTree
            }
            copySpec.walk(_) >> { Action it -> it.execute(copySpecResolver) }
        }
    
        void actions(Closure... actions) {
            copySpecResolver.allCopyActions >> actions.collect { new ClosureBackedAction<>(it) }
        }
    
        void visit() {
            executer.execute(copySpec, delegate)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/execution/TaskActionListener.java

    /**
     * <p>A {@code TaskActionListener} is notified of the actions that a task performs.</p>
     *
     * @deprecated This type is not supported when configuration caching is enabled.
     */
    @EventScope(Scope.Build.class)
    @Deprecated
    @DeprecatedInGradleScope
    public interface TaskActionListener {
        /**
         * This method is called immediately before the task starts performing its actions.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/MutableActionSet.java

        private ImmutableActionSet<T> actions = ImmutableActionSet.empty();
    
        public void add(Action<? super T> action) {
            this.actions = actions.add(action);
        }
    
        public void clear() {
            actions = ImmutableActionSet.empty();
        }
        @Override
        public void execute(T t) {
            actions.execute(t);
        }
    
        public boolean isEmpty() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ExecutionTimeTaskConfigurationIntegrationTest.groovy

            "actions.add(anAction)"                                     | "Task.getActions().add()"
            "actions.addAll([anAction])"                                | "Task.getActions().addAll()"
            "actions.set(0, anAction)"                                  | "Task.getActions().set(int, Object)"
            "actions.removeAll(actions)"                                | "Task.getActions().removeAll()"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelRegistrations.java

        }
    
        public static <T> Builder unmanagedInstance(ModelReference<T> modelReference, final Factory<? extends T> factory) {
            return unmanagedInstance(modelReference, factory, Actions.doNothing());
        }
    
        public static <T> Builder unmanagedInstance(final ModelReference<T> modelReference, final Factory<? extends T> factory, final Action<? super MutableModelNode> initializer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  7. .github/workflows/containers.yml

        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'containers')
    
        steps:
          - name: Checkout
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
    
          - name: Configure JDK
            uses: actions/setup-java@v4
            with:
              distribution: 'zulu'
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Mar 23 12:00:11 UTC 2024
    - 911 bytes
    - Viewed (0)
  8. .github/workflows/maven.yml

    # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
    
    name: Java CI with Maven
    
    on:
      push:
        branches:
        - master
        - "*.x"
      pull_request:
        branches:
        - master
        - "*.x"
    
    jobs:
      build:
    
        runs-on: ubuntu-latest
    
        steps:
        - uses: actions/checkout@v2
        - name: Set up JDK 17
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Fri Nov 17 21:22:20 UTC 2023
    - 822 bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonEventSequenceBuilder.groovy

        }
    
        private finishCheckpoint() {
            if (currentState == null) {
                if (!actions.empty) {
                    currentState = DaemonsState.getWildcardState()
                    finishCheckpoint()
                }
            } else {
                checkpoints << new DaemonsStateCheckpoint(currentState, *actions)
                actions.clear()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. .github/workflows/ci.yml

        branches:
          - master
      pull_request:
        branches:
          - master
    
    permissions:
      contents: read
    
    jobs:
      test:
        permissions:
          actions: write  # for styfle/cancel-workflow-action to cancel/stop running workflows
          contents: read  # for actions/checkout to fetch code
        name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }} on ${{ matrix.os }}"
        strategy:
          matrix:
            os: [ ubuntu-latest ]
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 16:25:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top