Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 89 for modelPath (0.13 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelRegistry.java

         * @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);
    
        /**
         * Attempts to bind the references of all model rules known at this point in time.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java

                String modelPath = extractModelPathFromMethodTarget(call);
                rewriteCreator(call, modelPath, closureExpression, classArg, displayName);
                return;
            }
    
            restrict(call, INVALID_RULE_SIGNATURE);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/DefaultModelRegistration.java

    @ThreadSafe
    public class DefaultModelRegistration implements ModelRegistration {
        private final ModelPath path;
        private final ModelRuleDescriptor descriptor;
        private final boolean hidden;
        private final Multimap<ModelActionRole, ? extends ModelAction> actions;
    
        public DefaultModelRegistration(ModelPath path, ModelRuleDescriptor descriptor,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/InstanceModelView.java

        }
    
        public static <T> ModelView<T> of(ModelPath path, ModelType<T> type, T instance) {
            return of(path, type, instance, Actions.doNothing());
        }
    
        public static <T> ModelView<T> of(ModelPath path, ModelType<T> type, T instance, Action<? super T> onClose) {
            return new InstanceModelView<T>(path, type, instance, onClose);
        }
    
        @Override
        public ModelPath getPath() {
            return path;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/UnboundRulesProcessorTest.groovy

    import static org.gradle.util.internal.TextUtil.normaliseLineSeparators
    
    class UnboundRulesProcessorTest extends RegistrySpec {
    
        List<RuleBinder> binders = []
    
        Transformer<List<ModelPath>, ModelPath> suggestionProvider = Transformers.constant([])
    
        String getReportForProcessedBinders() {
            reportFor(new UnboundRulesProcessor(binders, suggestionProvider).process())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java

        }
    
        @Nullable
        public static MutableModelNode node(DefaultModelRegistry modelRegistry, String path) {
            return modelRegistry.node(ModelPath.path(path));
        }
    
        public static <C> ModelRegistry registerInstance(ModelRegistry modelRegistry, String path, final C c) {
            return modelRegistry.register(unmanaged(registration(ModelPath.path(path)), c));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelPathSuggestionProviderTest.groovy

    package org.gradle.model.internal.registry
    
    import org.gradle.model.internal.core.ModelPath
    import spock.lang.Specification
    
    class ModelPathSuggestionProviderTest extends Specification {
    
        List<String> availablePaths
    
        List<String> suggestionsFor(String path) {
            new ModelPathSuggestionProvider(availablePaths.collect { new ModelPath(it) }).transform(new ModelPath(path))*.toString()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPredicate.java

         */
        @Nullable
        public ModelPath getPath() {
            return null;
        }
    
        /**
         * Returns the parent path of the nodes to select, or null if parent is not relevant.
         *
         * <p>A node will be selected if its parent's path equals the specified path.
         */
        @Nullable
        public ModelPath getParent() {
            return null;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RuleVisitor.java

            } else {
                String modelPath = argExpression.getText();
                if (modelPath.isEmpty()) {
                    error(argExpression, INVALID_ARGUMENT_LIST);
                    return;
                }
    
                try {
                    ModelPath.validatePath(modelPath);
                } catch (ModelPath.InvalidPathException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top