Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for getOriginMetadata (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/ImmutableWorkspaceMetadata.java

            this.originMetadata = originMetadata;
            this.outputPropertyHashes = outputPropertyHashes;
        }
    
        public OriginMetadata getOriginMetadata() {
            return originMetadata;
        }
    
        public ImmutableListMultimap<String, HashCode> getOutputPropertyHashes() {
            return outputPropertyHashes;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:46:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/ExecutionOutputState.java

         */
        ImmutableSortedMap<String, FileSystemSnapshot> getOutputFilesProducedByWork();
    
        /**
         * The origin metadata of the outputs captured.
         */
        OriginMetadata getOriginMetadata();
    
        /**
         * Whether the outputs come from a previous execution.
         */
        boolean isReused();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:29 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/BuildCacheLoadResult.java

    import org.gradle.caching.internal.origin.OriginMetadata;
    import org.gradle.internal.snapshot.FileSystemSnapshot;
    
    public interface BuildCacheLoadResult {
        long getArtifactEntryCount();
    
        OriginMetadata getOriginMetadata();
    
        ImmutableSortedMap<String, FileSystemSnapshot> getResultingSnapshots();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/BuildCacheEntryPacker.java

                this.originMetadata = originMetadata;
                this.entries = entries;
                this.snapshots = snapshots;
            }
    
            public OriginMetadata getOriginMetadata() {
                return originMetadata;
            }
    
            public long getEntries() {
                return entries;
            }
    
            public Map<String, FileSystemLocationSnapshot> getSnapshots() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top