Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 87 for setItems (0.28 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/PropertyAccessorType.java

    import java.beans.Introspector;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.lang.reflect.Type;
    import java.util.Collection;
    
    /**
     * Distinguishes "get" getters, "is" getters and setters from non-property methods.
     *
     * Generally follows the JavaBean conventions, with 2 exceptions: is methods can return `Boolean` (in addition to `boolean`) and setter methods can return non-void values.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultMetadataProvider.java

         * to the complete type ({@link ComponentMetadata}) which provides more than what we want to expose in those
         * rules. In particular, the builder exposes setters, that we don't want on the component metadata type.
         */
        private static class SimpleComponentMetadataBuilder implements ComponentMetadataBuilder {
            private final ModuleVersionIdentifier id;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

         * Maven-based resolution. In more detail, this method configures settings relevant for the processing of dependency
         * graphs, most other settings remain at their generic default value. Use the various setters to further configure
         * the session with authentication, mirror, proxy and other information required for your environment. At least,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Mar 27 14:46:12 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

         * Maven-based resolution. In more detail, this method configures settings relevant for the processing of dependency
         * graphs, most other settings remain at their generic default value. Use the various setters to further configure
         * the session with authentication, mirror, proxy and other information required for your environment. At least,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/dependency_downgrade_and_exclude.adoc

    In our code, shown below, we only use one method from the beanutils library, `PropertyUtils.setSimpleProperty()`.
    Using this method for existing setters does not require any functionality from `commons-collections` as we verified through test coverage.
    
    .Using a utility from the beanutils library
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Managed.java

     *
     * <h3>Abstract classes</h3>
     * <p>
     * A managed type can be implemented as an abstract class.
     * All property getters and setters must be declared {@code abstract} (with the exception of calculated read-only properties).
     * The class cannot contain instance variables, constructors, or any methods that are not a getter or setter.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/BuildProfile.java

     * information about the overall build timing and collection of project specific
     * information.  All timing information is stored as milliseconds since epoch times.
     * <p>
     * Setters are expected to be called in the following order:
     * <ul>
     * <li>setProfilingStarted</li>
     * <li>setBuildStarted</li>
     * <li>setSettingsEvaluated</li>
     * <li>setProjectsLoaded</li>
     * <li>setProjectsEvaluated</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            void setb(String value) { myb = value }
        }
    
        def "property extraction is on par with groovy properties"() {
            given:
            def bean = new Bean()
    
            when:
            // Exercise setters
            bean.url = 'lower-case'
            bean.URL = 'upper-case'
            bean.cCompiler = 'lower-case first char'
            bean.CCompiler = 'upper-case first char'
            bean.cppCompiler = 'cppCompiler'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

            then:
            readableProperty(JavaTestSubject, String, "myProperty").getValue(myProperties) == "otherValue"
        }
    
        def "write property with multiple setters"() {
            when:
            writeableProperty(JavaTestSubject, "myProperty2", String.class).setValue(myProperties, "stringValue")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    include::{snippetsPath}/providers/implicitTaskInputFileDependency/tests/implicitTaskInputFileDependencyKotlin.out[]
    ----
    
    In the example above, the task outputs and inputs are connected before any location is defined.
    The setters can be called at any time before the task is executed, and the change will automatically affect all related input and output properties.
    
    Another important thing to note in this example is the absence of any explicit task dependency.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top