Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,101 for Managed (0.13 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

    A managed collection can not contain 'java.io.FileInputStream's
    A valid managed collection takes the form of ModelSet<T> or ModelMap<T> where 'T' is:
            - A managed type (annotated with @Managed)""")
        }
    
        @Managed
        interface ManagedWithInvalidModelMap {
            ModelMap<FileInputStream> getMap()
        }
    
        @Managed
        interface ManagedWithUnsupportedType {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

            ex.message == """Type ${fullyQualifiedNameOf(HasUnmanagedOnManaged)} is not a valid managed type:
    - Property 'myEnum' is not valid: it is marked as @Unmanaged, but is of @Managed type '${getName(MyEnum)}'; please remove the @Managed annotation"""
        }
    
        @Managed
        static interface NoSetterForUnmanaged {
            @Unmanaged
            InputStream getThing();
        }
    
        def "must have setter for unmanaged"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

    - type parameter of $ModelSet.name has to be specified"""
        }
    
        @Managed
        interface Thing {}
    
        @Managed
        interface SpecialThing extends Thing {}
    
        @Managed
        interface SimpleModel {
            Thing getThing()
        }
    
        @Managed
        interface SpecialModel extends SimpleModel {
            SpecialThing getThing()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    println(instance.name) // Prints: myName
    ----
    
    [[managed_types]]
    == Using Gradle Managed Types
    
    A managed type as an abstract class or interface with no fields and whose properties are all managed.
    These types have their state entirely managed by Gradle.
    
    For example, this managed type is defined as an interface:
    
    [source,java]
    .Resource.java
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedScalarCollectionsIntegrationTest.groovy

            where:
            type << MANAGED_SCALAR_COLLECTION_TYPES
    
        }
    
        def "reports problem when managed type declares a #type of managed type"() {
            when:
            buildScript """
            @Managed
            interface Thing { }
    
            @Managed
            interface Container {
                $type<Thing> getItems()
            }
    
            model {
                container(Container)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  6. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentSourceSetIntegrationTest.groovy

            """
    
            expect:
            succeeds "validate"
        }
    
        def "user can target managed internal views of a custom managed LanguageSourceSet with rules"() {
            given:
            buildFile << """
                @Managed interface CustomManagedLSS extends LanguageSourceSet {}
                @Managed interface CustomManagedLSSInternal extends CustomManagedLSS {
                    String getInternal()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelPropertyTargetingRuleIntegrationTest.groovy

        }
    
        def "rule can target nested element of managed element as input through a reference to managed element"() {
            when:
            buildScript '''
                @Managed
                interface Platform {
                    OperatingSystem getOperatingSystem()
                    void setOperatingSystem(OperatingSystem os)
                }
    
                @Managed
                interface OperatingSystem {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ModelSetIntegrationTest.groovy

            output.contains "setStrings: [[a], [b]]"
        }
    
        def "managed model type has property of collection of managed types"() {
            when:
            buildScript '''
                @Managed
                interface Person {
                  String getName()
                  void setName(String string)
                }
    
                @Managed
                interface Group {
                  String getName()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfieldsupdater_test.go

    type NoopManager struct{}
    
    func (NoopManager) Apply(liveObj, appliedObj runtime.Object, managed internal.Managed, fieldManager string, force bool) (runtime.Object, internal.Managed, error) {
    	return nil, managed, nil
    }
    
    func (NoopManager) Update(liveObj, newObj runtime.Object, managed internal.Managed, manager string) (runtime.Object, internal.Managed, error) {
    	return nil, nil, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

        }
    
        @Managed
        static interface BooleanGetter1 {
            boolean getFlag()
        }
    
        @Managed
        static interface BooleanGetter2 {
            boolean isFlag()
        }
    
        @Managed
        static interface BooleanGetter3 {
            boolean getFlag()
    
            boolean isFlag()
        }
    
        @Managed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
Back to top