Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,091 for asSnapshot (0.14 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemLocationSnapshot.java

         */
        String getAbsolutePath();
    
        /**
         * Constructs a copy of this snapshot with a new absolute path.
         *
         * Returns the relocated snapshot, or {@link Optional#empty()} if the snapshot was taken of a
         * hierarchy containing a symlink, as we can't be sure if the snapshot would still be valid of
         * the relocated link.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:09:45 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/MavenRemotePublisher.java

            String timestamp = createSnapshotTimestamp();
    
            Snapshot snapshot = new Snapshot();
            snapshot.setBuildNumber(getNextBuildNumber(repository, metadataResource));
            snapshot.setTimestamp(timestamp);
    
            Versioning versioning = new Versioning();
            versioning.setSnapshot(snapshot);
            versioning.setLastUpdated(snapshot.getTimestamp().replace(".", ""));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 05:46:08 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractScalarValueSnapshot.java

            return value;
        }
    
        @Override
        public ValueSnapshot snapshot(Object value, ValueSnapshotter snapshotter) {
            if (this.value.equals(value)) {
                return this;
            }
            ValueSnapshot snapshot = snapshotter.snapshot(value);
            if (snapshot.equals(this)) {
                return this;
            }
            return snapshot;
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ValueSnapshotter.java

        /**
         * Creates a snapshot of the given value, given a candidate snapshot. If the value is the same as the value provided by the candidate snapshot, the candidate must be returned.
         *
         * @throws ValueSnapshottingException On failure to snapshot the value.
         */
        ValueSnapshot snapshot(@Nullable Object value, ValueSnapshot candidate) throws ValueSnapshottingException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/source/PrintStreamLoggingSystem.java

        protected abstract void set(PrintStream printStream);
    
        @Override
        public Snapshot snapshot() {
            return new SnapshotImpl(enabled, logLevel);
        }
    
        @Override
        public void restore(Snapshot state) {
            SnapshotImpl snapshot = (SnapshotImpl) state;
            enabled = snapshot.enabled;
            logLevel = snapshot.logLevel;
            if (enabled) {
                install();
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/OutputEventRendererTest.groovy

            renderer.enableUserStandardOutputListeners()
            renderer.addStandardOutputListener(listener)
            renderer.configure(LogLevel.INFO)
            def snapshot = renderer.snapshot()
            renderer.configure(LogLevel.DEBUG)
    
            when:
            renderer.restore(snapshot)
            renderer.onOutput(event('info', LogLevel.INFO))
            renderer.onOutput(event('debug', LogLevel.DEBUG))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenFileModuleTest.groovy

            !publishedFiles.find { it.name == 'maven-metadata.xml' }
            snapshotMavenFileModule.assertArtifactsPublished('my-artifact-1.0-SNAPSHOT.jar', 'my-artifact-1.0-SNAPSHOT.pom')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/JavaSerializedValueSnapshot.java

        public byte[] getValue() {
            return serializedValue;
        }
    
        @Override
        public ValueSnapshot snapshot(Object value, ValueSnapshotter snapshotter) {
            ValueSnapshot snapshot = snapshotter.snapshot(value);
            if (equals(snapshot)) {
                return this;
            }
            return snapshot;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            if (implementationHash == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:37:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/SnapshotVersionsReadOnlyCacheDependencyResolutionTest.groovy

        MavenHttpModule snapshot
    
        @Override
        List<MavenHttpModule> getModulesInReadOnlyCache(MavenHttpRepository repo) {
            [
                snapshot = repo.module("org.module", "core", "1.0-SNAPSHOT"),
            ]
        }
    
        def "latest version is fetched from writable cache"() {
            given:
            def latest = snapshot.publishWithChangedContent()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializerTest.groovy

    import org.gradle.internal.serialize.SerializerSpec
    import org.gradle.internal.snapshot.CompositeFileSystemSnapshot
    import org.gradle.internal.snapshot.DirectorySnapshot
    import org.gradle.internal.snapshot.FileSystemSnapshot
    import org.gradle.internal.snapshot.MissingFileSnapshot
    import org.gradle.internal.snapshot.RegularFileSnapshot
    import org.gradle.internal.snapshot.TestSnapshotFixture
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top