Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for PropertyValue (0.39 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/PropertyValue.java

        /**
         * Finalizes the property value, if possible. This makes the value final, so that it no longer changes, but not necessarily immutable.
         */
        void maybeFinalizeValue();
    
        PropertyValue ABSENT = new PropertyValue() {
            @Nullable
            @Override
            public Object call() {
                return null;
            }
    
            @Override
            public TaskDependencyContainer getTaskDependencies() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

        }
    
        suspend fun writeInputProperty(propertyName: String, propertyValue: Any?) =
            writeProperty(propertyName, propertyValue, PropertyKind.InputProperty)
    
        suspend fun writeOutputProperty(propertyName: String, propertyValue: Any?) =
            writeProperty(propertyName, propertyValue, PropertyKind.OutputProperty)
    
        val inputProperties = collectRegisteredInputsOf(task)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

            String propertyValue()
        }
    
        static class RootBuild implements BuildWithSystemPropertyDefined {
    
            @Override
            void setup(AbstractIntegrationSpec spec, String propertyKey) {
                spec.testDirectory.file("gradle.properties") << "systemProp.$propertyKey=${propertyValue()}"
            }
    
            @Override
            String propertyValue() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/generator/PropertiesPersistableConfigurationObjectTest.groovy

            when:
            object.load(inputFile)
    
            then:
            propertyValue == 'value'
        }
    
        def loadsFromDefaultResource() {
            when:
            object.loadDefaults()
    
            then:
            propertyValue == 'default-value'
        }
    
        def storesToXmlFile() {
            object.loadDefaults()
            propertyValue = 'modified-value'
            def outputFile = tmpDir.file('output.properties')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/AddSoftwareTypesAsExtensionsPluginTargetTest.groovy

        def "adds software types as extensions when software type plugin is applied"() {
            def plugin = Mock(Plugin)
            def propertyWalker = Mock(PropertyWalker)
            def propertyValue = Mock(PropertyValue)
            def softwareType = Mock(SoftwareType)
            def extensions = Mock(ExtensionContainerInternal)
            def foo = new Foo()
    
            when:
            pluginTarget.applyImperative(null, plugin)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultFinalizingValidatingPropertyTest.groovy

    import org.gradle.internal.properties.PropertyValue
    import spock.lang.Specification
    
    class DefaultFinalizingValidatingPropertyTest extends Specification {
        def "notifies property value of start and end of execution when it implements lifecycle interface"() {
            def value = Mock(LifecycleAwareValue)
            def valueWrapper = Stub(PropertyValue)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 21:15:55 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ResolveConfigurationResolutionBuildOperationDetails.java

                        propertyValue = ((File) property.getValue()).getAbsolutePath();
                    } else if (property.getValue() instanceof URI) {
                        propertyValue = ((URI) property.getValue()).toASCIIString();
                    } else {
                        propertyValue = property.getValue();
                    }
    
                    propertiesMapBuilder.put(property.getKey(), propertyValue);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/CompositePropertyVisitor.java

        }
    
        @Override
        public void visitInputProperty(String propertyName, PropertyValue value, boolean optional) {
            for (PropertyVisitor visitor : visitors) {
                visitor.visitInputProperty(propertyName, value, optional);
            }
        }
    
        @Override
        public void visitOutputFileProperty(String propertyName, boolean optional, PropertyValue value, OutputFilePropertyType filePropertyType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 16 23:29:29 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/DefaultTaskProperties.java

                return taskPropertySpecs;
            }
        }
    
        private static class ResolvingValue implements PropertyValue {
            private final PropertyValue delegate;
            private final Function<Object, Object> resolver;
    
            public ResolvingValue(PropertyValue delegate, Function<Object, Object> resolver) {
                this.delegate = delegate;
                this.resolver = resolver;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 16 23:29:29 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/DefaultInputPropertySpec.java

    import org.gradle.internal.properties.PropertyValue;
    
    public class DefaultInputPropertySpec extends AbstractPropertySpec implements InputPropertySpec {
        private final PropertyValue value;
    
        public DefaultInputPropertySpec(String propertyName, PropertyValue value) {
            super(propertyName);
            this.value = value;
        }
    
        @Override
        public PropertyValue getValue() {
            return value;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 21:15:55 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top