Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setItems (0.3 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

                return isReadable() && setters.stream().noneMatch(method -> method.getParameterTypes()[0].equals(getType()));
            }
    
            public boolean isReadable() {
                return mainGetter != null;
            }
    
            public boolean isWritable() {
                return !setters.isEmpty();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                buf.append(",\"page_size\":").append(suggestResponse.getNum());
    
                if (!suggestResponse.getItems().isEmpty()) {
                    buf.append(",\"data\":[");
    
                    boolean first = true;
                    for (final SuggestItem item : suggestResponse.getItems()) {
                        if (!first) {
                            buf.append(',');
                        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

         * Generates an implementation of the given managed type.
         * <p>
         * The generated class will implement/extend the managed type and will:
         * <ul>
         *     <li>provide implementations for abstract getters and setters that delegate to the backing state</li>
         *     <li>provide a `toString()` implementation</li>
         *     <li>mix-in implementation of {@link ManagedInstance}</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                if (logger.isDebugEnabled()) {
                    final List<DocWriteRequest<?>> requests = bulkRequestBuilder.request().requests();
                    final BulkItemResponse[] items = response.getItems();
                    if (requests.size() == items.length) {
                        for (int i = 0; i < requests.size(); i++) {
                            final BulkItemResponse resp = items[i];
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    ==== Replacement collections in `org.gradle.plugins.ide.idea.model.IdeaModule`
    
    The `testResourcesDirs` and `testSourcesDirs` fields and their getters and setters have been deprecated.
    Replace usages with the now stable `getTestSources()` and `getTestResources()` methods and their respective setters.
    These new methods return and are backed by `ConfigurableFileCollection` instances for improved flexibility of use.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            when:
            def sideEffect = Mock(ValueSupplier.SideEffect)
            def providerWithSideEffect = Providers.of(someValue()).withSideEffect(sideEffect)
            // `PropertyInternal` does not directly provide these setters,
            // but all user-facing interfaces and their implementations do.
            property."$setter"(providerWithSideEffect)
    
            property.calculateValue(ValueSupplier.ValueConsumer.IgnoreUnsafeRead)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc

    . Add the appropriate annotation to each of those properties
    
    NOTE: Annotations must be placed on getters or on Groovy properties. Annotations placed on setters, or on a Java field without a corresponding annotated getter, are ignored.
    
    Gradle supports four main categories of inputs and outputs:
    
    * Simple values
    +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

    === Potential breaking changes
    
     * Two overloaded `ValidateTaskProperties.setOutputFile()` methods were removed. They are replaced with auto-generated setters when the task is accessed from a build script, but that won't be the case from plugins and other code outside of the build script.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

            // > the getter method. Boolean properties are visible with a `is` prefix in Kotlin
            //
            // https://kotlinlang.org/docs/reference/java-interop.html#getters-and-setters
            //
            // This code assumes all configurable Boolean property getters follow the `is` prefix convention.
            //
            private String booleanPropertyNameFor(String propertyName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    It works for properties that are publicly seen as `final` (without a setter) and have type `Property` or `ConfigurableFileCollection`.
    Since properties have to be `final`, our general recommendation is not to implement custom setters for properties with lazy types and, if possible, implement such properties via an abstract getter.
    
    Using the `=` operator is the preferred way to call `set()` in the Kotlin DSL.
    
    .Kotlin lazy property assignment
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top