- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setToConventionIfUnset (0.31 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java
/** * Marks this value as being explicitly set with * the current value assigned to the convention, * unless it is already an explicit value. */ public abstract S setToConventionIfUnset(S value); private static class NonFinalizedValue<S> extends ValueState<S> { private final PropertyHost host; private final Function<S, S> copier; private boolean explicitValue;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 13.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java
* or if an explicit value has already been set, it has no effect. */ protected SupportsConvention setToConventionIfUnset() { assertCanMutate(); if (!isDefaultConvention()) { this.value = state.setToConventionIfUnset(value); } return this; } protected abstract S getDefaultValue();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:54 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java
* or if an explicit value has already been set, it has no effect. */ protected ConfigurableFileCollection setToConventionIfUnset() { assertMutable(); value = valueState.setToConventionIfUnset(value); return this; } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:06:55 UTC 2024 - 30.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java
protected Configurer getConfigurer(boolean ignoreAbsent) { return new Configurer(ignoreAbsent); } protected void withActualValue(Action<Configurer> action) { setToConventionIfUnset(); action.execute(getConfigurer(true)); } @Override protected boolean isDefaultConvention() { return isNoValueSupplier(getConventionSupplier()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 29.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java
} private Configurer getConfigurer(boolean ignoreAbsent) { return new Configurer(ignoreAbsent); } protected void withActualValue(Action<Configurer> action) { setToConventionIfUnset(); action.execute(getConfigurer(true)); } private boolean isNoValueSupplier(MapSupplier<K, V> valueSupplier) { return valueSupplier instanceof DefaultMapProperty.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)