Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 263 for PropertyName (0.2 sec)

  1. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy

                solutions == [ 'Use type \'java.net.URI\' instead' ]
                additionalData.asMap == [
                    'typeName' : 'MyTask',
                    'propertyName' : 'direct',
                ]
            }
            verifyAll(receivedProblem(1)) {
                fqid == 'validation:property-validation:unsupported-value-type-for-input'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. build-logic/lifecycle/src/main/kotlin/gradlebuild.lifecycle.gradle.kts

            )
        }
    }
    
    fun globalProperty(pair: Pair<String, Any>) {
        val propertyName = pair.first
        val value = pair.second
        if (hasProperty(propertyName)) {
            val otherValue = property(propertyName)
            if (value.toString() != otherValue.toString()) {
                throw RuntimeException("Attempting to set global property $propertyName to two different values ($value vs $otherValue)")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:39:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/InputFileChanges.java

    public interface InputFileChanges extends ChangeContainer {
        boolean accept(String propertyName, ChangeVisitor visitor);
    
        InputFileChanges EMPTY = new InputFileChanges() {
    
            @Override
            public boolean accept(ChangeVisitor visitor) {
                return true;
            }
    
            @Override
            public boolean accept(String propertyName, ChangeVisitor visitor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/GradlePropertyValueSource.java

        @Nullable
        @Override
        public String obtain() {
            @Nullable String propertyName = propertyNameOrNull();
            if (propertyName == null) {
                return null;
            }
            return (String) getGradleProperties().find(propertyName);
        }
    
        @Override
        public String getDisplayName() {
            return String.format("Gradle property '%s'", propertyNameOrNull());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/normalization/PropertiesFileNormalization.java

         * This method can be called multiple times to declare additional properties to be ignored.
         * @param propertyName - the name of the property to ignore
         */
        void ignoreProperty(String propertyName);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 19 12:43:32 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

            annotationClass.getAnnotation(Inherited.class));
    
        for (String propertyName : new String[] {"value", "absent"}) {
          Method method = null;
          try {
            method = annotationClass.getMethod(propertyName);
          } catch (NoSuchMethodException e) {
            fail(
                rootLocaleFormat("%s must have a property named '%s'.", annotationClass, propertyName));
          }
          final Class<?> returnType = method.getReturnType();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/ClassInspector.java

                    String propertyName = accessorType.propertyNameFor(method);
                    classDetails.property(propertyName).addGetter(method);
                } else if (accessorType == PropertyAccessorType.SETTER) {
                    String propertyName = accessorType.propertyNameFor(method);
                    classDetails.property(propertyName).addSetter(method);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DefaultInputFileChanges.java

            super(previous, current, TITLE);
        }
    
        @Override
        public boolean accept(String propertyName, ChangeVisitor visitor) {
            CurrentFileCollectionFingerprint currentFileCollectionFingerprint = current.get(propertyName);
            FileCollectionFingerprint previousFileCollectionFingerprint = previous.get(propertyName);
            FingerprintCompareStrategy compareStrategy = determineCompareStrategy(currentFileCollectionFingerprint);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/GetInputFilesVisitor.java

            FileNormalizer normalizer = FileParameterUtils.normalizerOrDefault(fileNormalizer);
            specs.add(new DefaultInputFilePropertySpec(
                propertyName,
                normalizer,
                new PropertyFileCollection(ownerDisplayName, propertyName, "input", actualValue),
                value,
                behavior,
                normalizeDirectorySensitivity(normalizer, directorySensitivity),
                lineEndingSensitivity
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            Introspector.decapitalize(isGetterName.substring(2)) == propertyName
    
            PropertyAccessorType.isSetterName(setterName)
            PropertyAccessorType.SETTER.propertyNameFor(setterName) == propertyName
            Introspector.decapitalize(setterName.substring(3)) == propertyName
    
            where:
            getGetterName    | isGetterName    | setterName       | propertyName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
Back to top