- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SetPredicate (0.18 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/UnboundRulesProcessor.java
ModelBinding subjectBinding = binder.getSubjectBinding(); // Only report subject binding if target state is after node creation if (subjectBinding.getPredicate().getState().compareTo(ModelNode.State.Created) > 0) { UnboundRuleInput.Builder inputBuilder = toInputBuilder(subjectBinding); builder.mutableInput(inputBuilder); }
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/RuleBinder.java
@Override public void execute(ModelBinding modelBinding) { ModelNodeInternal node = modelBinding.getNode(); BindingPredicate predicate = modelBinding.getPredicate(); if (node.isAtLeast(predicate.getState())) { throw new IllegalStateException(String.format("Cannot add rule %s for model element '%s' at state %s as this element is already at state %s.",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelBinding.java
* the target state, not the input state. Implicitly, a rule accepts as input the subject in the state that is the predecessor of the target state. */ public BindingPredicate getPredicate() { return predicate; } public boolean isBound() { return boundTo != null; } public ModelNodeInternal getNode() { if (boundTo == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.1K bytes - Viewed (0)