Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,235 for Managed (0.22 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InterfaceBackedManagedTypeIntegrationTest.groovy

        def "rule method can define a managed model element backed by an interface"() {
            when:
            buildScript '''
                @Managed
                interface Person {
                    String getName()
                    void setName(String name)
                }
    
                @Managed
                interface Names {
                    String getName()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/typeregistration/BaseInstanceFactoryTest.groovy

        static interface OtherThingSpec extends ThingSpec {}
        static @Managed interface ManagedThingSpec extends ThingSpec {}
        static @Managed interface ChildManagedThingSpec extends ManagedThingSpec {}
        static @Managed interface ManagedThingSpecInternal {}
        static @Managed interface ManagedThingSpecInternalExtendingThingSpecInternal extends ThingSpecInternal {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedImmutableManagedValue.java

    import org.gradle.internal.state.Managed;
    import org.gradle.internal.state.ManagedFactory;
    import org.gradle.internal.state.ManagedFactoryRegistry;
    
    import javax.annotation.Nullable;
    
    public class IsolatedImmutableManagedValue extends AbstractIsolatableScalarValue<Managed> {
        private final ManagedFactoryRegistry managedFactoryRegistry;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

        }
    
        def "rule can create a map of abstract class backed managed model elements"() {
            when:
            buildScript '''
                @Managed
                abstract class Thing implements Named {
                  abstract String getName()
                  abstract void setValue(String value)
                  abstract String getValue()
                }
    
                @Managed
                interface Container {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelTypeInitializationException.java

    import org.gradle.model.ModelSet;
    import org.gradle.model.internal.manage.schema.CollectionSchema;
    import org.gradle.model.internal.manage.schema.ModelSchemaStore;
    import org.gradle.model.internal.type.ModelType;
    
    import java.util.List;
    import java.util.Set;
    
    /**
     * Thrown when a NodeInitializer can not be found for a given type or when the type is not managed and can not be constructed.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/ManagedProperty.java

     * limitations under the License.
     */
    
    package org.gradle.model.internal.manage.binding;
    
    import org.gradle.model.internal.type.ModelType;
    
    /**
     * A managed property of a struct type.
     *
     * <p>Managed properties are properties whose values need to be stored in child-nodes. A
     * managed property is detected when the view schemas declaring the struct declare a property with only abstract accessor
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/equality.go

    	//	rest of object is unchanged
    	//		then
    	//	revert any changes to timestamps in managed fields
    	//		(to prevent spurious ResourceVersion bump)
    	//
    	// Procecure:
    	// Do a quicker check to see if just managed fields modulo timestamps are
    	//	unchanged. If so, then do the full, slower check.
    	//
    	// In most cases which actually update the object, the managed fields modulo
    	//	timestamp check will fail, and we will be able to return early.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 28 14:56:34 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/ModelSet.java

    import org.gradle.api.Action;
    import org.gradle.api.Incubating;
    
    import java.util.Set;
    
    /**
     * A set of managed model objects.
     * <p>
     * {@link org.gradle.model.Managed} types may declare managed set properties.
     * Managed sets can only contain managed types.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/fieldmanager_test.go

    	managedFields := f.ManagedFields()
    	if len(managedFields) != 1 {
    		t.Fatalf("Expected new managed fields to have one entry. Got:\n%#v", managedFields)
    	}
    	if managedFields[0].Manager != expectedManager {
    		t.Fatalf("Expected first item to have manager set to: %s. Got: %s", expectedManager, managedFields[0].Manager)
    	}
    
    	// Check that managed fields cannot be reset via subresources
    	newObj := obj.DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Model.java

     * It is an error for a {@code @Model} rule to return {@code void} and for the first parameter to be annotated with {@link Path}.
     * It is an error for a {@code @Model} rule to specify a managed type as the return type.
    
     * <h3>Creating non-managed model elements</h3>
     * <p>
     * If the element is to be of a non-managed type, the method must return the newly created instance.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top