Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,165 for managed (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/state/Managed.java

     * limitations under the License.
     */
    
    package org.gradle.internal.state;
    
    import javax.annotation.Nullable;
    
    /**
     * Implemented by types whose state is fully managed by Gradle. Mixed into generated classes whose state is fully managed.
     */
    public interface Managed {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Managed.java

    import java.lang.annotation.Target;
    
    /**
     * A managed type is transparent to the model space, and enforces immutability at the appropriate times in the object's lifecycle.
     * <p>
     * Gradle generates implementations for managed types.
     * As such, managed types are declared either as interfaces or abstract classes.
     * The generated implementation integrates with the model space mechanisms, and manages mutability.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaStoreTest.groovy

                    "@${Managed.name} interface SomeThing { SomeThing getThing() }",
                    "@${Managed.name} interface SomeThing { ${ModelSet.name}<SomeThing> getThings() }",
                    "@${Managed.name} interface SomeThing { @${Managed.name} static interface Child {}; ${ModelSet.name}<Child> getThings() }",
            ]
        }
    
        def "does not hold strong reference to a managed #type type"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/structuredmerge.go

    	_, managedFields, err := f.updater.Update(liveObjTyped, newObjTyped, apiVersion, managed.Fields(), manager)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to update ManagedFields (%v): %v", objectGVKNN(newObjVersioned), err)
    	}
    	managed = NewManaged(managedFields, managed.Times())
    
    	return newObj, managed, nil
    }
    
    // Apply implements Manager.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:55:50 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

    - 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"() {
            when: extract NoSetterForUnmanaged
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/groovy/build.gradle

    // tag::managed-type-plugin-and-dsl[]
    // tag::managed-type-and-plugin[]
    // tag::managed-type[]
    @Managed
    interface Person {
    // tag::property-type-string[]
      void setFirstName(String name)
      String getFirstName()
    // end::property-type-string[]
    
      void setLastName(String name)
      String getLastName()
    // end::managed-type[]
    // end::managed-type-and-plugin[]
    // end::managed-type-plugin-and-dsl[]
    
    // tag::property-type-int[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Unmanaged.java

    import java.lang.annotation.Target;
    
    /**
     * Indicates that a property of a managed model element is explicitly of an unmanaged type.
     * <p>
     * This annotation must be present on the <b>getter</b> of the property for the unmanaged type.
     * If the annotation is not present for a property that is not a managed type, a fatal error will occur.
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedImplStructStrategyTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.model.internal.manage.schema.extract
    
    import org.gradle.model.Managed
    import org.gradle.model.internal.manage.schema.CompositeSchema
    import org.gradle.model.internal.manage.schema.ManagedImplSchema
    import org.gradle.model.internal.manage.schema.ManagedImplStructSchema
    import org.gradle.model.internal.manage.schema.StructSchema
    import org.gradle.model.internal.type.ModelType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top