Package org.gradle.model.internal.core

Examples of org.gradle.model.internal.core.ModelPath


    }

    public void configure(String modelPathString, Closure<?> configuration) {
        List<ModelReference<?>> references = inputPathsExtractor.transform(configuration);
        SourceLocation sourceLocation = ruleLocationExtractor.transform(configuration);
        ModelPath modelPath = ModelPath.path(modelPathString);
        Closure<?> reownered = configuration.rehydrate(null, owner, thisObject);
        modelRegistry.mutate(new ClosureBackedModelMutator(reownered, references, modelPath, sourceLocation));
    }
View Full Code Here


        this.modelPath = modelPath;
        this.modelRegistry = modelRegistry;
    }

    private NonTransformedModelDslBacking getChildPath(String name) {
        ModelPath path = modelPath == null ? ModelPath.path(name) : modelPath.child(name);
        return new NonTransformedModelDslBacking(executingDsl, path, modelRegistry);
    }
View Full Code Here

        return unboundRules;
    }

    private UnboundRuleInput.Builder toInputBuilder(ModelBinding<?> binding, ModelReference<?> reference) {
        UnboundRuleInput.Builder builder = UnboundRuleInput.type(reference.getType());
        ModelPath path;
        if (binding != null) {
            builder.bound();
            path = binding.getPath();
        } else {
            path = reference.getPath();
View Full Code Here

TOP

Related Classes of org.gradle.model.internal.core.ModelPath

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.