- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 80 for ModelNode (3.49 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/OneOfTypeBinderCreationListener.java
super(descriptor, predicate, writable); this.bindAction = bindAction; } @Override public boolean canBindInState(ModelNode.State state) { return state.isAtLeast(ModelNode.State.Discovered); } @Override public void doOnBind(ModelNodeInternal node) { boundTo = node; bindAction.execute(this); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/FactoryBasedStructNodeInitializer.java
} @Override protected void initializePrivateData(MutableModelNode modelNode) { ModelType<T> delegateType = Cast.uncheckedCast(implementationInfo.getDelegateType()); T instance = Cast.uncheckedCast(implementationInfo.create(modelNode)); modelNode.setPrivateData(delegateType, instance); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/binary/BaseBinarySpec.java
MutableModelNode modelNode = info.modelNode; sources = ModelMaps.addModelMapNode(modelNode, LANGUAGE_SOURCE_SET_MODELTYPE, "sources"); ModelRegistration itemRegistration = ModelRegistrations.of(modelNode.getPath().child("tasks")) .action(ModelActionRole.Create, new Action<MutableModelNode>() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.8K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/platform/base/component/internal/DefaultComponentSpec.java
public final MutableModelNode modelNode; public final Class<?> publicType; private ComponentInfo( ComponentSpecIdentifier componentIdentifier, MutableModelNode modelNode, Class<?> publicType ) { this.componentIdentifier = componentIdentifier; this.modelNode = modelNode; this.publicType = publicType; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/NodeAtState.java
*/ package org.gradle.model.internal.registry; import org.gradle.model.internal.core.ModelNode; import org.gradle.model.internal.core.ModelPath; class NodeAtState implements Comparable<NodeAtState> { public final ModelPath path; public final ModelNode.State state; public NodeAtState(ModelPath path, ModelNode.State state) { this.path = path; this.state = state; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/PathBinderCreationListener.java
super(descriptor, predicate, writable); this.bindAction = bindAction; } @Override public boolean canBindInState(ModelNode.State state) { return predicate.getReference().isUntyped() || state.isAtLeast(ModelNode.State.Discovered); } @Override public void doOnBind(ModelNodeInternal node) { if (predicate.matches(node)) { boundTo = node;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainerFactory.java
.build() ); ModelNode modelNode = modelRegistry.atStateOrLater(TaskContainerInternal.MODEL_PATH, ModelNode.State.Created); // TODO LD use something more stable than a cast here MutableModelNode mutableModelNode = (MutableModelNode) modelNode; // Add tasks created through rules to the actual task container
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 09:54:40 UTC 2024 - 8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelMaps.java
Cast.uncheckedCast(ModelType.of(ChildNodeInitializerStrategy.class)); public static <T> MutableModelNode addModelMapNode(MutableModelNode modelNode, ModelType<T> elementModelType, String name) { modelNode.addLink( ModelRegistrations.of(modelNode.getPath().child(name)) .action(ModelActionRole.Create, NODE_INITIALIZER_REGISTRY_MODEL_REFERENCE, new BiAction<MutableModelNode, NodeInitializerRegistry>() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/MutableModelNode.java
*/ void setTarget(ModelNode target); /** * Ensure that the views are available, with default values applied. */ void ensureUsable(); void ensureAtLeast(ModelNode.State state); boolean isAtLeast(ModelNode.State state); void setHidden(boolean hidden);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelRegistry.java
* @param path the path for the node * @param state the desired node state * @return the node at the desired state */ ModelNode atStateOrLater(ModelPath path, ModelNode.State state); <T> T atStateOrLater(ModelPath path, ModelType<T> type, ModelNode.State state); ModelNode.State state(ModelPath path); void remove(ModelPath path); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.6K bytes - Viewed (0)