- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for applyFromProperty (0.23 sec)
-
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/EnumBuildOptionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/StringBuildOptionTest.groovy
when: testOption.applyFromProperty([:], testSettings) then: !testSettings.value !testSettings.origin when: testOption.applyFromProperty([(GRADLE_PROPERTY): SAMPLE_VALUE], testSettings) then: testSettings.value == SAMPLE_VALUE
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/IntegerBuildOptionTest.groovy
when: testOption.applyFromProperty([:], testSettings) then: !testSettings.value !testSettings.origin when: testOption.applyFromProperty([(GRADLE_PROPERTY): SAMPLE_VALUE.toString()], testSettings) then: testSettings.value == SAMPLE_VALUE
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BooleanBuildOptionTest.groovy
when: testOption.applyFromProperty([:], testSettings) then: !testSettings.value !testSettings.origin when: testOption.applyFromProperty([(GRADLE_PROPERTY): 'true'], testSettings) then: testSettings.value
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/EnabledOnlyBooleanBuildOption.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Apr 28 21:41:57 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/ListBuildOptionTest.groovy
when: testOption.applyFromProperty([:], testSettings) then: testSettings.values.empty !testSettings.origin when: testOption.applyFromProperty([(GRADLE_PROPERTY): 'val1, val2, val3'], testSettings) then: testSettings.values == SAMPLE_VALUES
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 6K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/EnabledOnlyBooleanBuildOptionTest.groovy
when: testOption.applyFromProperty([:], testSettings) then: !testSettings.flag !testSettings.origin when: testOption.applyFromProperty([(GRADLE_PROPERTY): 'val'], testSettings) then: testSettings.flag
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/BuildOptionSet.java
public T convert(Map<String, String> properties, T target) throws CommandLineArgumentException { for (BuildOption<? super T> option : getAllOptions()) { option.applyFromProperty(properties, target); } return target; } }; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 31 11:25:33 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/BuildOption.java
* * @param <T> the type of object that ultimately expresses the option to consumers * @since 4.3 */ public interface BuildOption<T> extends Option { @Nullable String getProperty(); void applyFromProperty(Map<String, String> properties, T settings); void configure(CommandLineParser parser); void applyFromCommandLine(ParsedCommandLine options, T settings); String getDeprecatedProperty();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 31 11:25:33 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/StringBuildOption.java
public StringBuildOption(String property, CommandLineOptionConfiguration... commandLineOptionConfigurations) { super(property, commandLineOptionConfigurations); } @Override public void applyFromProperty(Map<String, String> properties, T settings) { String value = properties.get(property); if (value != null) { applyTo(value, settings, Origin.forGradleProperty(property)); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Apr 28 21:41:57 UTC 2024 - 2.3K bytes - Viewed (0)