Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getOutcome (0.93 sec)

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

            }
    
            @Nullable
            private static String getSkipMessage(ExecutionEngine.Execution execution) {
                switch (execution.getOutcome()) {
                    case SHORT_CIRCUITED:
                        return "NO-SOURCE";
                    case FROM_CACHE:
                        return "FROM-CACHE";
                    case UP_TO_DATE:
    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. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/ExecuteActionsTaskExecuter.java

            Result result = request.execute();
            result.getExecution().ifSuccessfulOrElse(
                success -> state.setOutcome(convertOutcome(success.getOutcome())),
                failure -> state.setOutcome(new TaskExecutionException(task, failure))
            );
            return new TaskExecuterResult() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedTaskOutputFixture.java

            this.taskName = taskName;
        }
    
        public void setOutcome(String taskOutcome) {
            if (this.taskOutcome != null) {
                throw new AssertionError(taskName + " task's outcome is set twice!");
            }
            this.taskOutcome = taskOutcome;
        }
    
        public String getOutcome() {
            return taskOutcome;
        }
    
        public String getName() {
            return taskName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/ExecutionEngine.java

             */
            Optional<OriginMetadata> getOriginMetadata();
        }
    
        interface Execution {
            /**
             * Get how the outputs have been produced.
             */
            ExecutionOutcome getOutcome();
    
            /**
             * Get the object representing the produced output.
             * The type of value returned here depends on the {@link UnitOfWork} implmenetation.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:17 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecuteStep.java

                this.mode = mode;
                this.workOutput = workOutput;
            }
    
            @Override
            public ExecutionOutcome getOutcome() {
                return mode;
            }
    
            @Override
            public Object getOutput(File workspace) {
                return workOutput.getOutput(workspace);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/execution/EventFiringTaskExecuterTest.groovy

            1 * taskListener.beforeExecute(taskIdentity)
            1 * taskExecutionListener.beforeExecute(task)
    
            then:
            1 * delegate.execute(task, state, executionContext) >> {
                state.setOutcome(failure)
                return TaskExecuterResult.WITHOUT_OUTPUTS
            }
    
            then:
            1 * taskExecutionListener.afterExecute(task, state)
            1 * task.getTaskIdentity() >> taskIdentity
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/EventFiringTaskExecuter.java

                            contextAwareTaskLogger.setFallbackBuildOperationId(currentOperation.getId());
                        }
                    } catch (Throwable t) {
                        state.setOutcome(new TaskExecutionException(task, t));
                        return TaskExecuterResult.WITHOUT_OUTPUTS;
                    }
    
                    TaskExecuterResult result = delegate.execute(task, state, context);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixture.java

            if (task == null) {
                task = new GroupedTaskOutputFixture(taskName);
                tasks.put(taskName, task);
            }
    
            task.addOutput(taskOutput);
            task.setOutcome(taskOutcome);
        }
    
        private void consumeTransformOutput(Matcher matcher) {
            String initialSubjectType = matcher.group(1);
            String subject = matcher.group(2);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top