Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 574 for PROPERTY (0.18 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/Documentation.java

            private final Class<?> targetClass;
            private final String property;
    
            public DslReference(Class<?> targetClass, String property) {
                this.targetClass = Preconditions.checkNotNull(targetClass);
                this.property = Preconditions.checkNotNull(property);
            }
    
            @Override
            public String getUrl() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/ListBuildOption.java

    public abstract class ListBuildOption<T> extends AbstractBuildOption<T, CommandLineOptionConfiguration> {
    
        public ListBuildOption(String property) {
            super(property);
        }
    
        public ListBuildOption(String property, CommandLineOptionConfiguration... commandLineOptionConfigurations) {
            super(property, commandLineOptionConfigurations);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcIntegrationTest.groovy

                import ${TaskAction.name};
                import ${Internal.name};
                import ${Property.name};
    
                public class CustomTask extends DefaultTask {
                    private final Property<String> greeting = getProject().getObjects().property(String.class);
    
                    @Internal
                    public Property<String> getGreeting() {
                        return greeting;
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineDelegatedPropertyAccessorsAnalyzer.kt

    ) : KtTreeVisitorVoid() {
    
        override fun visitProperty(property: KtProperty) {
            super.visitProperty(property)
            val isDelegate = property.hasDelegateExpression()
            if (!isDelegate) return
    
            val bindingContext = analysisContext.analyze(property)
            val descriptor = bindingContext.get(BindingContext.DECLARATION_TO_DESCRIPTOR, property)
            if (descriptor !is VariableDescriptorWithAccessors) return
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

                    someTaskInputs.property = $reference
                }
            """
            when:
            configurationCacheRun "ok"
            configurationCacheRun "ok"
    
            then:
            outputContains("task.nested.property = $output")
    
            where:
            type                    | reference            | output
            "Property<String>"      | "'value'"            | "value"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/PropertyTest.kt

    
    object PropertyTest {
        @Test
        fun `read-only property cannot be written`() {
            val result = schema().resolve("x = y")
            val singleError = result.errors.single().errorReason
            assertIs<ErrorReason.ReadOnlyPropertyAssignment>(singleError)
            assertEquals("x", singleError.property.name)
        }
    
        @Test
        fun `write-only property cannot be read`() {
            val result = schema().resolve("y = z")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/cache/DefaultCacheConfigurations.java

            }
    
            @Override
            public Property<Long> getRemoveUnusedEntriesOlderThan() {
                return removeUnusedEntriesOlderThan;
            }
    
            /**
             * @implNote Returns a supplier mapped from the property.  This provides a supplier that is resilient
             * to subsequent changes to the property value as opposed to just calling get() on the property.
             */
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-file-with-allowed-expressions.xml

        <profile>
          <id>dynamic-property-available</id>
          <activation>
            <property>
              <name>${activationProperty}</name>
            </property>
          </activation>
        </profile>
    
        <profile>
          <id>matches-another-property</id>
          <activation>
            <property>
              <name>foo</name>
              <value>${bar}</value>
            </property>
          </activation>
        </profile>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializerTest.kt

        }
    
        interface Dsl {
            val property: Property<String>
        }
    
        @Test
        fun `can serialize Java lambda with Gradle model`() {
            val stored = newInstance<Dsl>().apply {
                property.set("42")
            }
            val loaded = valueCarriedBy(roundtripOf(isolatedActionLambdaWith(stored)))
            assertThat(
                loaded.property.get(),
                equalTo("42")
            )
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDslProjectBuildFileIntegrationSpec.groovy

                    }
    
                    @Restricted
                    public abstract Property<String> getName();
    
                    @Restricted
                    public abstract Property<Boolean> getRead();
    
                    @Restricted
                    public abstract Property<Boolean> getWrite();
                }
    
                public static class Point {
                    public final int xCoord;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top