Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,340 for managed (0.32 sec)

  1. 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)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractValueProcessor.java

        }
    
        private <T> T processManaged(Managed managed, ValueVisitor<T> visitor) {
            if (managed.isImmutable()) {
                return visitor.managedImmutableValue(managed);
            } else {
                // May (or may not) be mutable - unpack the state
                T state = processValue(managed.unpackState(), visitor);
                return visitor.managedValue(managed, state);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 19:08:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/providers/property/kotlin/build.gradle.kts

        }
    }
    
    tasks.register<MyPropertyTask>("myPropertyTask") {
        messageProperty.set("Hello, Gradle!")
    }
    // end::prop-managed[]
    
    // Provider
    // tag::prov-managed[]
    abstract class MyProviderTask : DefaultTask() {
        final val messageProvider: Provider<String> = project.providers.provider { "Hello, Gradle!" } // message provider
    
        @TaskAction
        fun printMessage() {
            println(messageProvider.get())
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/providers/property/groovy/build.gradle

        }
    }
    
    tasks.register('myPropertyTask', MyPropertyTask) {
        messageProperty.set("Hello, Gradle!")
    }
    // end::prop-managed[]
    
    // Provider
    // tag::prov-managed[]
    abstract class MyProviderTask extends DefaultTask {
        final Provider<String> messageProvider = project.providers.provider { "Hello, Gradle!" }
    
        @TaskAction
        void printMessage() {
            println(messageProvider.get())
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultValueSnapshotter.java

            }
    
            @Override
            public ValueSnapshot managedImmutableValue(Managed managed) {
                return new ImmutableManagedValueSnapshot(managed.publicType().getName(), (String) managed.unpackState());
            }
    
            @Override
            public ValueSnapshot managedValue(Managed value, ValueSnapshot state) {
                return new ManagedValueSnapshot(value.publicType().getName(), state);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. architecture/build-state-model.md

    The build tree state is managed by the `BuildTreeState` class.
    An instance is created at the start of a build execution and discarded at the end of the execution.
    
    ### Build state
    
    The "build state" holds the state for a build within the build definition for a single build execution, and is contained by the build tree state.
    
    The build state is managed by the `BuildState` class.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultIsolatableFactory.java

            }
    
            @Override
            public Isolatable<?> managedImmutableValue(Managed managed) {
                return new IsolatedImmutableManagedValue(managed, managedFactoryRegistry);
            }
    
            @Override
            public Isolatable<?> managedValue(Managed value, Isolatable<?> state) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. tests/integration/pilot/gateway_test.go

    apiVersion: v1
    kind: Service
    metadata:
      name: managed-owner-istio
    spec:
      ports:
      - appProtocol: http
        name: default
        port: 80
      selector:
        gateway.networking.k8s.io/gateway-name: managed-owner
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: managed-owner-istio
    spec:
      selector:
        matchLabels:
          gateway.networking.k8s.io/gateway-name: managed-owner
      replicas: 1
      template:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/AttributeContainerCodecs.kt

    import org.gradle.internal.serialize.graph.readCollection
    import org.gradle.internal.serialize.graph.readNonNull
    import org.gradle.internal.serialize.graph.writeCollection
    import org.gradle.internal.state.Managed
    import org.gradle.internal.state.ManagedFactoryRegistry
    
    
    class AttributeContainerCodec(
        private val attributesFactory: ImmutableAttributesFactory,
        private val managedFactories: ManagedFactoryRegistry
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/cache/desired_state_of_world.go

    	// If no node with the name nodeName exists in list of nodes managed by the
    	// attach/detach attached controller, an error is returned.
    	AddPod(podName types.UniquePodName, pod *v1.Pod, volumeSpec *volume.Spec, nodeName k8stypes.NodeName) (v1.UniqueVolumeName, error)
    
    	// DeleteNode removes the given node from the list of nodes managed by the
    	// attach/detach controller.
    	// If the node does not exist this is a no-op.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top