Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,017 for propertyOf (0.12 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderConventionMappingIntegrationTest.groovy

            runAndFail 'mytask'
            expectDocumentedFailure()
        }
    
        def "convention mapping can be used with Property and an actual value"() {
            buildFile << """
                abstract class MyTask extends DefaultTask {
                    @Internal abstract Property<String> getFoo()
                    @Internal abstract Property<String> getBar()
    
                    @TaskAction
                    void useIt() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 12:27:37 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt

                }
            }
        }
    
        @Test
        fun `non-nullable delegated property access of non-existing gradle property throws`() {
    
            withMockForSettings(absent = "p") {
    
                val p: Any by settings
                try {
                    p.toString()
                    fail("InvalidUserCodeException not thrown")
                } catch (ex: InvalidUserCodeException) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:44:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskOutputFilePropertyBuilder.java

         * value specified must meet the validation constraints for the property.
         */
        TaskOutputFilePropertyBuilder optional();
    
        /**
         * Sets whether the task property is optional. If the task property is optional, it means that a value does not have to be
         * specified for the property, but any value specified must meet the validation constraints for the property.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 14 12:40:35 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/providers/property/groovy/build.gradle

    plugins {
        id 'groovy'
    }
    
    repositories {
        mavenCentral()
    }
    
    // tag::set-prop[]
    // Setting a property
    def simpleMessageProperty = project.objects.property(String)
    simpleMessageProperty.set("Hello, World from a Property!")
    // Accessing a property
    println(simpleMessageProperty.get())
    // end::set-prop[]
    
    // tag::set-prov[]
    // Setting a provider
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/main/resources/log4j2.xml

    <Configuration status="WARN">
    
    	<Properties>
    		<Property name="domain.name" value="${sys:fess.log.name:-fess}" />
    		<Property name="log.level" value="${sys:fess.log.level:-debug}" />
    		<Property name="root.log.level" value="${sys:fess.log.level:-info}" />
    		<Property name="log.pattern" value="%d [%t] %-5p %msg%n" />
    		<Property name="log.file.basedir" value="${sys:fess.log.path:-target/logs}" />
    		<Property name="backup.date.suffix" value="_%d{yyyyMMdd}" />
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Feb 20 13:17:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/boostdoc/admin_boostdoc_details.jsp

                <la:form action="/admin/boostdoc/">
                    <la:hidden property="crudMode"/>
                    <c:if test="${crudMode==2 || crudMode==3 || crudMode==4}">
                        <la:hidden property="id"/>
                        <la:hidden property="versionNo"/>
                    </c:if>
                    <la:hidden property="createdBy"/>
                    <la:hidden property="createdTime"/>
                    <div class="row">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/relatedquery/admin_relatedquery_details.jsp

                <la:form action="/admin/relatedquery/">
                    <la:hidden property="crudMode"/>
                    <c:if test="${crudMode==2 || crudMode==3 || crudMode==4}">
                        <la:hidden property="id"/>
                        <la:hidden property="versionNo"/>
                    </c:if>
                    <la:hidden property="createdBy"/>
                    <la:hidden property="createdTime"/>
                    <div class="row">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/ant/properties/kotlin/build.gradle.kts

    // tag::set-property[]
    ant.setProperty("buildDir", buildDir)
    ant.properties.set("buildDir", buildDir)
    ant.properties["buildDir"] = buildDir
    ant.withGroovyBuilder {
        "property"("name" to "buildDir", "location" to "buildDir")
    }
    // end::set-property[]
    
    ant.importBuild("build.xml")
    
    // tag::get-property[]
    println(ant.getProperty("antProp"))
    println(ant.properties.get("antProp"))
    println(ant.properties["antProp"])
    // end::get-property[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 860 bytes
    - Viewed (0)
  9. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/DefaultMavenPomOrganization.java

            url = objectFactory.property(String.class);
        }
    
        @Override
        public Property<String> getName() {
            return name;
        }
    
        @Override
        public Property<String> getUrl() {
            return url;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/resources/org/gradle/test/JavaClass.java

         */
        public void setIgnoreMe2(String a, int b) {
        }
    
        /**
         * A write-only property.
         */
        public void setWriteOnly(JavaInterface value) {
        }
    
        /**
         * A property.
         */
        public JavaInterface getSomeProp() {
            return this;
        }
    
        /**
         * The setter for a property.
         * @param value
         */
        public void setSomeProp(JavaInterface value) {
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
Back to top