- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for getOriginMetadata (0.52 sec)
-
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/SkipUpToDateStep.java
Try<Execution> execution = Try.successful(Execution.skipped(UP_TO_DATE, work)); return new UpToDateResult( previousExecutionState.getOriginMetadata().getExecutionTime(), execution, executionOutputState, ImmutableList.of(), previousExecutionState.getOriginMetadata() ); }
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/main/java/org/gradle/internal/execution/steps/IdentityCacheStep.java
} // TODO: Move this logic in a step around IdentityCacheStep private <T> void emitExecuteDeferredProgressDetails(UnitOfWork work, Identity identity, IdentityCacheResult<T> cacheResult) { cacheResult.getOriginMetadata().ifPresent(originMetadata -> progressEventEmitter.emitNowIfCurrent(new DefaultExecuteDeferredWorkProgressDetails( work.getBuildOperationWorkType().orElse(null), identity,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 16:30:23 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepTest.groovy
then: 1 * immutableWorkspaceMetadataStore.loadWorkspaceMetadata(immutableWorkspace) >> Stub(ImmutableWorkspaceMetadata) { getOriginMetadata() >> delegateOriginMetadata getOutputPropertyHashes() >> ImmutableListMultimap.of("output", outputFileSnapshot.hash) } 0 * _ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 14:32:25 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/StoreExecutionStateStepTest.groovy
then: 1 * delegateResult.afterExecutionOutputState >> Optional.of(Mock(AfterExecutionState) { _ * getOutputFilesProducedByWork() >> this.outputFilesProducedByWork _ * getOriginMetadata() >> originMetadata }) _ * context.cachingState >> CachingState.enabled(new DefaultBuildCacheKey(cacheKey), beforeExecutionState) _ * delegateResult.execution >> Try.successful(Mock(Execution))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 08:29:47 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/StoreExecutionStateStep.java
return afterExecutionOutputState.getOutputFilesProducedByWork(); } @Override public OriginMetadata getOriginMetadata() { return afterExecutionOutputState.getOriginMetadata(); } @Override public boolean isReused() { return afterExecutionOutputState.isReused(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 08:29:47 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultPreviousExecutionState.java
} @Override public ImmutableSortedMap<String, FileSystemSnapshot> getOutputFilesProducedByWork() { return outputFilesProducedByWork; } @Override public OriginMetadata getOriginMetadata() { return originMetadata; } @Override public boolean isSuccessful() { return successful; } @Override public boolean isReused() { return true;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 17:44:52 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultExecutionHistoryStore.java
} @Override public void store(String key, AfterExecutionState executionState) { store.put(key, new DefaultPreviousExecutionState( executionState.getOriginMetadata(), executionState.getCacheKey(), executionState.getImplementation(), executionState.getAdditionalImplementations(), executionState.getInputProperties(),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 09:09:23 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-execution/execution/src/testFixtures/groovy/org/gradle/internal/execution/TestExecutionHistoryStore.java
} @Override public void store(String key, AfterExecutionState executionState) { executionHistory.put(key, new DefaultPreviousExecutionState( executionState.getOriginMetadata(), executionState.getCacheKey(), executionState.getImplementation(), executionState.getAdditionalImplementations(), executionState.getInputProperties(),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 09:09:23 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java
work.getDisplayName(), cacheKey.getHashCode()); } cleanLocalState(context.getWorkspace(), work); OriginMetadata originMetadata = cacheHit.getOriginMetadata(); Try<Execution> execution = Try.successful(Execution.skipped(FROM_CACHE, work));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 13:41:13 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/SkipUpToDateStepTest.groovy
_ * context.rebuildReasons >> ImmutableList.of() _ * context.previousExecutionState >> Optional.of(Stub(PreviousExecutionState) { getOutputFilesProducedByWork() >> ImmutableSortedMap.of() getOriginMetadata() >> delegateOriginMetadata }) 0 * _ } def "executes when outputs are not up to date"() { def delegateOutcome = Try.successful(Mock(Execution))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:34 UTC 2024 - 3.4K bytes - Viewed (0)