- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getChanges (0.59 sec)
-
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) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/IncrementalInputChanges.java
changes.accept(propertyName, visitor); return Cast.uncheckedNonnullCast(visitor.getChanges()); } @Override public Iterable<InputFileDetails> getAllFileChanges() { CollectingChangeVisitor visitor = new CollectingChangeVisitor(); changes.accept(visitor); return Cast.uncheckedNonnullCast(visitor.getChanges()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/CollectingChangeVisitor.java
private List<Change> changes = new ArrayList<Change>(); @Override public boolean visitChange(Change change) { changes.add(change); return true; } public Collection<Change> getChanges() { return changes; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/CachingChangeContainerTest.groovy
then: interaction { receivesChanges(change1, change2) } 0 * _ when: cachingChanges.accept(collectingVisitor) def reported = collectingVisitor.getChanges() then: 0 * _ and: reported == [change1, change2] } def "does not cache once reported changes exceed cache size"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/SummarizingChangeContainerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.5K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy
def outputFileChanges = new OutputFileChanges(ImmutableSortedMap.of("test", previousSnapshot), ImmutableSortedMap.of("test", currentSnapshot)) outputFileChanges.accept(visitor) visitor.getChanges().collect {new DescriptiveChange(it.message) }.toList() } def added(String path) { new DescriptiveChange("Output property 'test' file ${FilenameUtils.separatorsToSystem(path)} has been added.") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/ClasspathCompareStrategyTest.groovy
CLASSPATH.visitChangesSince(previousFingerprint, currentFingerprint, "test", visitor) visitor.getChanges().toList() } def fingerprint(String normalizedPath, def hashCode = 0x1234abcd) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 8.6K bytes - Viewed (0)