Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getConventionSupplier (2.32 sec)

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

        protected ProviderInternal<? extends T> getDefaultConvention() {
            return Cast.uncheckedCast(NOT_DEFINED);
        }
    
        @Override
        protected boolean isDefaultConvention() {
            return getConventionSupplier() == NOT_DEFINED;
        }
    
        @Override
        protected String describeContents() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

            // context serves as a token here to ensure that the scope is opened.
            return value;
        }
    
        protected S getConventionSupplier() {
            return state.convention();
        }
    
        protected final String describeValue() {
            return value.toString();
        }
    
    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/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

            setToConventionIfUnset();
            action.execute(getConfigurer(true));
        }
    
        @Override
        protected boolean isDefaultConvention() {
            return isNoValueSupplier(getConventionSupplier());
        }
    
        private boolean isNoValueSupplier(CollectionSupplier<T, C> valueSupplier) {
            // Cannot use plain NoValueSupplier because of Java restrictions:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java

        @Override
        protected MapSupplier<K, V> getDefaultConvention() {
            return noValueSupplier();
        }
    
        @Override
        protected boolean isDefaultConvention() {
            return isNoValueSupplier(getConventionSupplier());
        }
    
        private MapSupplier<K, V> emptySupplier() {
            return new EmptySupplier();
        }
    
        private MapSupplier<K, V> noValueSupplier() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top