Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,513 for property2 (0.17 sec)

  1. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/AbstractBuildOption.java

        }
    
        public AbstractBuildOption(String property, V... commandLineOptionConfiguration) {
            this(property, null, commandLineOptionConfiguration != null ? Arrays.asList(commandLineOptionConfiguration) : Collections.<V>emptyList());
        }
    
        private AbstractBuildOption(String property, String deprecatedProperty, List<V> commandLineOptionConfigurations) {
            this.property = property;
            this.deprecatedProperty = deprecatedProperty;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/providers/propertyConvention/groovy/build.gradle

    tasks.register("show") {
        def property = objects.property(String)
    
        // Set a convention
        property.convention("convention 1")
    
        println("value = " + property.get())
    
        // Can replace the convention
        property.convention("convention 2")
        println("value = " + property.get())
    
        property.set("explicit value")
    
        // Once a value is set, the convention is ignored
        property.convention("ignored convention")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 540 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/providers/propertyConvention/kotlin/build.gradle.kts

    tasks.register("show") {
        val property = objects.property(String::class)
    
        // Set a convention
        property.convention("convention 1")
    
        println("value = " + property.get())
    
        // Can replace the convention
        property.convention("convention 2")
        println("value = " + property.get())
    
        property.set("explicit value")
    
        // Once a value is set, the convention is ignored
        property.convention("ignored convention")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 547 bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInStaticGroovyIntegrationTest.groovy

            "System.properties['some.property']"                   | _
            "System.getProperties().get('some.property')"          | _
            "getProperties().get('some.property')"                 | _
            "System.getProperty('some.property')"                  | _
            "getProperty('some.property')"                         | _
            "System.getProperty('some.property', 'default.value')" | _
            "getProperty('some.property', 'default.value')"        | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleActionParameters.java

    import org.gradle.api.provider.MapProperty;
    import org.gradle.api.provider.Property;
    
    public interface CheckstyleActionParameters extends AntWorkParameters {
        RegularFileProperty getConfig();
    
        ConfigurableFileCollection getSource();
    
        Property<Integer> getMaxErrors();
    
        Property<Integer> getMaxWarnings();
    
        Property<Boolean> getIgnoreFailures();
    
        DirectoryProperty getConfigDirectory();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInJavaIntegrationTest.groovy

            "System.getProperties().get(\"some.property\")"            | _
            "System.getProperty(\"some.property\")"                    | _
            "System.getProperty(\"some.property\", \"default.value\")" | _
            "System.setProperty(\"some.property\", \"new.value\")"     | _
            "System.clearProperty(\"some.property\")"                  | _
        }
    
        def "setProperties is instrumented in Java"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CollectionPropertyInternal.java

        /**
         * Adds an element to the property value.
         *
         * <p>The given provider will be queried when the value of this property is queried.
         *
         * <p>
         * When invoked on a property with no value, this method first sets the value
         * of the property to its current convention value, if set, or an empty collection.
         * </p>
         * <p>Even if the given provider has no value, after this method is invoked,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 18:32:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/dataconfig/admin_dataconfig_edit.jsp

                    <la:hidden property="crudMode"/>
                    <c:if test="${crudMode==2}">
                        <la:hidden property="id"/>
                        <la:hidden property="versionNo"/>
                    </c:if>
                    <la:hidden property="createdBy"/>
                    <la:hidden property="createdTime"/>
                    <la:hidden property="sortOrder"/>
                    <div class="row">
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 9.6K bytes
    - Viewed (0)
  9. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

        <module name="SuppressionFilter">
            <property name="file" value="${config_loc}/suppressions.xml"/>
        </module>
        <!-- allows suppressing using the @SuppressWarnings("checkstyle:...") -->
        <module name="SuppressWarningsFilter"/>
        <module name="TreeWalker">
            <!-- Blocks -->
            <module name="EmptyBlock">
                <property name="option" value="statement"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 16 22:05:16 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/process/internal/DefaultJavaDebugOptions.java

        private final Property<Boolean> server;
        private final Property<Boolean> suspend;
    
        @Inject
        public DefaultJavaDebugOptions(ObjectFactory objectFactory) {
            this.enabled = objectFactory.property(Boolean.class).convention(false);
            this.host = objectFactory.property(String.class);
            this.port = objectFactory.property(Integer.class).convention(5005);
            this.server = objectFactory.property(Boolean.class).convention(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 13:28:29 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top