Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for PropertyValue (0.34 sec)

  1. 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)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/PropertyVisitor.java

        default void visitInputProperty(String propertyName, PropertyValue value, boolean optional) {}
    
        default void visitOutputFileProperty(String propertyName, boolean optional, PropertyValue value, OutputFilePropertyType filePropertyType) {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:21 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/TestProjects.groovy

        }
    
        private static void verifyGradlePropertiesSettingSpecified(Properties gradleProperties, String propertyName) {
            def propertyValue = gradleProperties.getProperty(propertyName)
            if (propertyValue == null || propertyValue.isEmpty()) {
                throw new IllegalArgumentException("Test project needs to specify ${propertyName} but did not.")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/EnumBuildOption.java

        }
    
        @Override
        public void applyFromProperty(Map<String, String> properties, T settings) {
            OptionValue<String> propertyValue = getFromProperties(properties);
            String value = propertyValue.getValue();
            if (value != null) {
                applyTo(value, settings, propertyValue.getOrigin());
            }
        }
    
        @Override
        public void configure(CommandLineParser parser) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Contexts.kt

        }
    
        override fun <T : Any> getSingletonProperty(propertyType: Class<T>): T {
            val propertyValue = singletonProperty
            require(propertyValue != null && propertyType.isInstance(propertyValue)) {
                "A singleton property of type $propertyType has not been registered!"
            }
            return propertyValue.uncheckedCast()
        }
    
        override fun newIsolate(owner: IsolateOwner): ReadIsolate =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/PropertyAnnotationHandler.java

     * limitations under the License.
     */
    package org.gradle.internal.properties.annotations;
    
    import com.google.common.collect.ImmutableSet;
    import org.gradle.internal.properties.PropertyValue;
    import org.gradle.internal.properties.PropertyVisitor;
    import org.gradle.internal.reflect.validation.TypeValidationContext;
    import org.gradle.internal.service.scopes.Scope;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/validation/ValidationProblemPropertyAnnotationHandler.java

    import org.gradle.api.problems.internal.DefaultProblemGroup;
    import org.gradle.api.problems.Severity;
    import org.gradle.internal.deprecation.Documentation;
    import org.gradle.internal.properties.PropertyValue;
    import org.gradle.internal.properties.PropertyVisitor;
    import org.gradle.internal.properties.annotations.AbstractPropertyAnnotationHandler;
    import org.gradle.internal.properties.annotations.PropertyMetadata;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/FlowParametersInstantiator.kt

                    override fun visitServiceReference(propertyName: String, optional: Boolean, value: PropertyValue, serviceName: String?, buildServiceType: Class<out BuildService<*>>) {
                        value.maybeFinalizeValue()
                    }
    
                    override fun visitInputProperty(propertyName: String, value: PropertyValue, optional: Boolean) {
    
                        val taskDependencies = value.taskDependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/impl/DefaultTestTaskPropertiesService.java

    import org.gradle.internal.properties.InputBehavior;
    import org.gradle.internal.properties.InputFilePropertyType;
    import org.gradle.internal.properties.OutputFilePropertyType;
    import org.gradle.internal.properties.PropertyValue;
    import org.gradle.internal.properties.PropertyVisitor;
    import org.gradle.internal.properties.bean.PropertyWalker;
    import org.gradle.process.JavaForkOptions;
    import org.gradle.process.internal.DefaultProcessForkOptions;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/AbstractValidatingProperty.java

    public abstract class AbstractValidatingProperty implements ValidatingProperty {
        private final String propertyName;
        private final PropertyValue value;
        private final boolean optional;
        private final ValidationAction validationAction;
    
        public AbstractValidatingProperty(String propertyName, PropertyValue value, boolean optional, ValidationAction validationAction) {
            this.propertyName = propertyName;
            this.value = value;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top