Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for getExecution (0.16 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecuteWorkBuildOperationFiringStep.java

                            result.getExecution(),
                            result.getCachingState(),
                            result.getReusedOutputOriginMetadata(),
                            result.getExecutionReasons()
                        );
                        operationContext.setResult(operationResult);
                        result.getExecution().getFailure().ifPresent(operationContext::failed);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

                    assertNotNull(event.getProject());
                    assertNotNull(event.getExecution());
                    assertNotNull(event.getMojo());
                    assertNull(event.getCause());
    
                    log.add("beforeMojoExecution " + event.getProject().getArtifactId() + ":"
                            + event.getExecution().getExecutionId());
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 20:57:17 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/Result.java

            this.duration = duration;
            this.execution = execution;
        }
    
        protected Result(Result parent) {
            this(parent.getDuration(), parent.getExecution());
        }
    
        public static Result failed(Throwable t, Duration duration) {
            return new Result(duration, Try.failure(t));
        }
    
        public static Result success(Duration duration, Execution outcome) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DefaultWorkerExecutorTest.groovy

            then:
            1 * workerThreadRegistry.workerThread >> true
            1 * executionQueue.submit(_) >> { args -> task = args[0] }
    
            when:
            task.getExecution().run()
    
            then:
            1 * workerDaemonFactory.getWorker(_) >> worker
            1 * worker.execute(_, _) >> { spec, buildOperation ->
                assert spec.implementationClass == TestExecutable.class
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 15:27:52 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/TestPageGenerator.java

            PerformanceTestExecution performanceTestExecution = getExecution(testHistory);
            if (performanceTestExecution == null || performanceTestExecution.getCleanTasks() == null) {
                return "";
            }
            return Joiner.on(" ").join(performanceTestExecution.getCleanTasks());
        }
    
        private static PerformanceTestExecution getExecution(PerformanceTestHistory testHistory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/ExecuteActionsTaskExecuter.java

            context.getTaskExecutionMode().getRebuildReason().ifPresent(request::forceNonIncremental);
            request.withValidationContext(context.getValidationContext());
            Result result = request.execute();
            result.getExecution().ifSuccessfulOrElse(
                success -> state.setOutcome(convertOutcome(success.getOutcome())),
                failure -> state.setOutcome(new TaskExecutionException(task, failure))
            );
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepTest.groovy

                getOriginMetadata() >> delegateOriginMetadata
                getOutputFilesProducedByWork() >> delegateOutputFiles
            }
            def delegateResult = Stub(CachingResult) {
                getExecution() >> Try.successful(delegateExecution)
                getDuration() >> delegateDuration
                getAfterExecutionOutputState() >> Optional.of(delegateOutputState)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 14:32:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/WorkspaceResult.java

            super(parent);
            this.workspace = workspace;
        }
    
        @Override
        public <T> Try<T> getOutputAs(Class<T> type) {
            return getExecution()
                .map(execution -> execution.getOutput(workspace))
                .map(type::cast);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 18:58:57 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/ConditionalExecution.java

    /**
     * Represents an execution.
     */
    public interface ConditionalExecution<T> {
        /**
         * Provides the Runnable that should be executed once the resource lock is acquired.
         */
        Runnable getExecution();
    
        /**
         * Blocks waiting for this execution to complete. Returns a result provided by the execution.
         */
        T await();
    
        /**
         * This method will be called upon completion of the execution.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/AbstractConditionalExecution.java

        private final RunnableFuture<T> runnable;
    
        public AbstractConditionalExecution(final Callable<T> callable) {
            this.runnable = new FutureTask<T>(callable);
        }
    
        @Override
        public Runnable getExecution() {
            return runnable;
        }
    
        @Override
        public T await() {
            boolean interrupted = false;
            while (true) {
                try {
                    finished.await();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top