Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for shouldFinalize (0.37 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

         */
        public static <S> ValueState<S> newState(PropertyHost host, Function<S, S> copier) {
            return new ValueState.NonFinalizedValue<>(host, copier);
        }
    
        public abstract boolean shouldFinalize(Describable displayName, @Nullable ModelObject producer);
    
        /**
         * Returns the state to replace this state once is finalized.
         */
        public abstract ValueState<S> finalState();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

                    return getSupplier(context).getProducer();
                }
            }
        }
    
        @Override
        public void finalizeValue() {
            if (state.shouldFinalize(this.getDisplayName(), producer)) {
                try (EvaluationContext.ScopeContext context = openScope()) {
                    finalizeNow(context, ValueConsumer.IgnoreUnsafeRead);
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

        }
    
        @Override
        public Object unpackState() {
            return getFiles();
        }
    
        @Override
        public void finalizeValue() {
            if (valueState.shouldFinalize(this::displayNameForThisCollection, null)) {
                finalizeNow();
            }
        }
    
        private void finalizeNow() {
            calculateFinalizedValue();
            valueState = valueState.finalState();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top