- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ImmutableManagedValueSnapshot (0.42 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImmutableManagedValueSnapshot.java
import org.gradle.internal.snapshot.ValueSnapshotter; import javax.annotation.Nullable; import java.util.Objects; public class ImmutableManagedValueSnapshot implements ValueSnapshot { private final String className; @Nullable private final String value; public ImmutableManagedValueSnapshot(String className, @Nullable String value) { this.className = className; this.value = value; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedImmutableManagedValue.java
super(managed); this.managedFactoryRegistry = managedFactoryRegistry; } @Override public ValueSnapshot asSnapshot() { return new ImmutableManagedValueSnapshot(getValue().publicType().getName(), (String) getValue().unpackState()); } @Override public void appendToHasher(Hasher hasher) { asSnapshot().appendToHasher(hasher); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy
write(original) expect: original == written } def "serializes immutable managed type properties"() { def original = new ImmutableManagedValueSnapshot("type", "name") write(original) expect: original == written } def "serializes class implementation properties"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultValueSnapshotter.java
return new AttributeDefinitionSnapshot(value, classLoaderHasher); } @Override public ValueSnapshot managedImmutableValue(Managed managed) { return new ImmutableManagedValueSnapshot(managed.publicType().getName(), (String) managed.unpackState()); } @Override public ValueSnapshot managedValue(Managed value, ValueSnapshot state) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 6.5K bytes - Viewed (0)