Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for canBindInState (0.55 sec)

  1. 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;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. 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) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelBinding.java

            }
            return boundTo;
        }
    
        @Override
        public String toString() {
            return "ModelBinding{predicate=" + predicate + ", node=" + boundTo + '}';
        }
    
        public abstract boolean canBindInState(ModelNode.State state);
    
        public final void onBind(ModelNodeInternal node) {
            if (boundTo != null) {
                ModelRuleDescriptor creatorDescriptor = node.getDescriptor();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBindings.java

            if (predicate.getPath() != null) {
                if (predicate.getScope() != null) {
                    throw new UnsupportedOperationException("Currently not implemented");
                }
                if (reference.binding.canBindInState(ModelNode.State.Registered)) {
                    untypedPathReferences.addReference(reference);
                } else {
                    typedPathReferences.addReference(reference);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top