Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for modelElement (0.16 sec)

  1. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/components/internal/TypeAwareBinaryRenderer.java

     * limitations under the License.
     */
    
    package org.gradle.api.reporting.components.internal;
    
    import org.gradle.api.tasks.diagnostics.internal.text.TextReportBuilder;
    import org.gradle.model.ModelElement;
    import org.gradle.platform.base.BinarySpec;
    import org.gradle.reporting.ReportRenderer;
    
    import java.io.IOException;
    import java.util.Comparator;
    import java.util.HashMap;
    import java.util.Map;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 27 14:58:38 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedTypeWithUnmanagedPropertiesIntegrationTest.groovy

            succeeds "fromPlugin", "fromScript"
    
            and:
            output.contains("fromPlugin: foo")
            output.contains("fromScript: foo")
        }
    
        def "can view unmanaged property as ModelElement"() {
            when:
            buildScript '''
                @Managed
                interface Platform {
                    @Unmanaged
                    OperatingSystem getOperatingSystem()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleBindingTest.groovy

                true,
                [
                    TypeCompatibilityModelProjectionSupport.description(ModelType.of(String)),
                    TypeCompatibilityModelProjectionSupport.description(ModelType.of(ModelElement))
                ]
            ).asString()
    
            cause.message == message
    
            where:
            order << [ProvidesStringOne, MutatesS1AsInteger].permutations()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/ModelSet.java

     * To add elements to the set, the {@link #create(Action)} method can be used.
     *
     * @param <T> the type of model object
     */
    @Incubating
    public interface ModelSet<T> extends Set<T>, ModelElement {
    
        /**
         * Declares a new set element, configured by the given action.
         *
         * @param action the object configuration
         */
        void create(Action<? super T> action);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/ModelMap.java

     * Model maps can only contain managed types.
     *
     * @param <T> the contract type for all items
     */
    @Incubating
    public interface ModelMap<T> extends Iterable<T>, ModelElement {
        /**
         * Returns a collection containing the items from this collection which are of the specified type.
         *
         * @param type The type.
         * @param <S> The type.
         * @return The collection.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top