- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for unboundRule (0.16 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/unbound/UnboundRule.java
import java.io.File; import java.util.List; @ThreadSafe public class UnboundRule { private final String descriptor; private final ImmutableList<UnboundRuleInput> immutableInputs; private final ImmutableList<UnboundRuleInput> mutableInputs; private UnboundRule(String descriptor, ImmutableList<UnboundRuleInput> immutableInputs, ImmutableList<UnboundRuleInput> mutableInputs) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundRulesProcessor.java
this.binders = binders; this.suggestionsProvider = suggestionsProvider; } public List<? extends UnboundRule> process() { List<UnboundRule> unboundRules = new ArrayList<UnboundRule>(); for (RuleBinder binder : binders) { UnboundRule.Builder builder = UnboundRule.descriptor(String.valueOf(binder.getDescriptor())); ModelBinding subjectBinding = binder.getSubjectBinding();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundModelRulesException.java
private final List<? extends UnboundRule> rules; public UnboundModelRulesException(List<? extends UnboundRule> rules) { super(toMessage(rules)); this.rules = rules; } private static String toMessage(Iterable<? extends UnboundRule> rules) { StringWriter string = new StringWriter();
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/test/groovy/org/gradle/model/internal/registry/UnboundRulesProcessorTest.groovy
binders << ConfigureUtil.configure(config, new RuleBinderTestBuilder()).build() } String reportFor(UnboundRule.Builder... rules) { reportFor(rules.toList()*.build()) } String reportFor(List<UnboundRule> rules) { def writer = new StringWriter() new UnboundRulesReporter(new PrintWriter(writer), "").reportOn(rules)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/unbound/UnboundRulesReporter.java
public UnboundRulesReporter(PrintWriter writer, String prefix) { this.writer = writer; this.prefix = prefix; } public void reportOn(Iterable<? extends UnboundRule> rules) { for (UnboundRule rule : rules) { writer.print(prefix); writer.println(rule.getDescriptor()); if (rule.getMutableInputs().size() > 0) { heading("subject:");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedToModelMapElementIntegrationTest.groovy
when: buildScript ''' class UnboundRuleSource extends RuleSource { @Mutate void unboundRule(String string, Integer integer, @Path("some.inner.path") String withInnerPath) { } } class Rules extends RuleSource { @Mutate
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/report/unbound/UnboundRulesReporterTest.groovy
def output = new StringWriter() def reporter = new UnboundRulesReporter(new PrintWriter(output), "> ") def "reports on unbound rules"() { when: reporter.reportOn([ UnboundRule.descriptor("r1") .mutableInput(UnboundRuleInput.type(String).path("parent.p1")) .mutableInput(UnboundRuleInput.type(String).scope("some.scope"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy
} def "reports unbound parameters for rules on applied RuleSource"() { buildScript ''' class UnboundRuleSource extends RuleSource { @Mutate void unboundRule(String string, Integer integer, @Path("some.inner.path") String withPath) { } } class MyPlugin extends RuleSource { @Model
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 18.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java
}); sortedBinders.addAll(unboundRules); throw unbound(sortedBinders); } } private UnboundModelRulesException unbound(Iterable<? extends RuleBinder> binders) { ModelPathSuggestionProvider suggestionsProvider = new ModelPathSuggestionProvider(modelGraph.getFlattened().keySet());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:40:00 UTC 2024 - 45.7K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
Class <org.gradle.model.internal.report.unbound.UnboundRule$Builder> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (UnboundRule.java:0) Class <org.gradle.model.internal.report.unbound.UnboundRule> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (UnboundRule.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 967.9K bytes - Viewed (0)