Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getChanges (0.2 sec)

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

            this.executionStateChanges = executionStateChanges;
        }
    
        protected IncrementalChangesContext(IncrementalChangesContext parent) {
            this(parent, parent.getRebuildReasons(), parent.getChanges().orElse(null));
        }
    
        /**
         * Returns the reasons to re-execute the work, empty if there's no reason to re-execute.
         */
        public ImmutableList<String> getRebuildReasons() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 17:10:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStep.java

        ) {
            super(buildCache, emitDebugLogging);
            this.delegate = delegate;
        }
    
        @Override
        protected Optional<HashCode> getPreviousCacheKeyIfApplicable(C context) {
            return context.getChanges()
                .flatMap(changes -> context.getPreviousExecutionState()
                    .filter(__ -> changes.getChangeDescriptions().isEmpty())
                    .map(PreviousExecutionState::getCacheKey));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveInputChangesStep.java

            if (work.getExecutionBehavior() == NON_INCREMENTAL) {
                return null;
            }
            ExecutionStateChanges changes = context.getChanges()
                .orElseThrow(() -> new IllegalStateException("Changes are not tracked, unable determine incremental changes."));
            InputChangesInternal inputChanges = changes.createInputChanges();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/SkipUpToDateStep.java

            if (LOGGER.isDebugEnabled()) {
                LOGGER.debug("Determining if {} is up-to-date", work.getDisplayName());
            }
            ImmutableList<String> reasons = context.getRebuildReasons();
            return context.getChanges()
                .filter(__ -> reasons.isEmpty())
                .map(changes -> skipExecution(work, context))
                .orElseGet(() -> executeBecause(work, reasons, context));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top