- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for CommandLineConverter (0.26 sec)
-
platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineConverter.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.cli; public interface CommandLineConverter<T> { T convert(Iterable<String> args, T target) throws CommandLineArgumentException; T convert(ParsedCommandLine args, T target) throws CommandLineArgumentException;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:00:57 UTC 2023 - 903 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/LayoutCommandLineConverter.java
import org.gradle.cli.CommandLineConverter; import org.gradle.cli.CommandLineParser; import org.gradle.cli.ParsedCommandLine; public class LayoutCommandLineConverter extends AbstractCommandLineConverter<BuildLayoutParameters> { private final CommandLineConverter<BuildLayoutParameters> converter = new BuildLayoutParametersBuildOptions().commandLineConverter(); @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 02 09:26:15 UTC 2021 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/BuildOptionSet.java
*/ abstract public List<? extends BuildOption<? super T>> getAllOptions(); /** * Returns a {@link CommandLineConverter} that can parse the options defined by this set. */ public CommandLineConverter<T> commandLineConverter() { return new AbstractCommandLineConverter<T>() { @Override public T convert(ParsedCommandLine args, T target) throws CommandLineArgumentException {
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/launcher/src/main/java/org/gradle/launcher/cli/converter/BuildOptionBackedConverter.java
} public void configure(CommandLineParser parser) { buildOptions.commandLineConverter().configure(parser); } public void convert(ParsedCommandLine commandLine, Map<String, String> properties, T target) { buildOptions.propertiesConverter().convert(properties, target); buildOptions.commandLineConverter().convert(commandLine, target); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 31 11:25:33 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/converter/InitialPropertiesConverter.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.launcher.cli.converter; import org.gradle.cli.CommandLineConverter; import org.gradle.cli.CommandLineParser; import org.gradle.cli.ParsedCommandLine; import org.gradle.cli.SystemPropertiesCommandLineConverter; import org.gradle.launcher.configuration.InitialProperties;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/connection/BuildLogLevelMixIn.java
LoggingConfigurationBuildOptions loggingBuildOptions = new LoggingConfigurationBuildOptions(); CommandLineConverter<LoggingConfiguration> converter = loggingBuildOptions.commandLineConverter(); SystemPropertiesCommandLineConverter propertiesCommandLineConverter = new SystemPropertiesCommandLineConverter();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/converter/BuildLayoutConverter.java
* limitations under the License. */ package org.gradle.launcher.cli.converter; import org.gradle.api.internal.StartParameterInternal; import org.gradle.cli.CommandLineConverter; import org.gradle.cli.CommandLineParser; import org.gradle.cli.ParsedCommandLine; import org.gradle.initialization.BuildLayoutParameters; import org.gradle.initialization.BuildLayoutParametersBuildOptions;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-runtime/cli/src/main/java/org/gradle/cli/AbstractCommandLineConverter.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.cli; public abstract class AbstractCommandLineConverter<T> implements CommandLineConverter<T> { @Override public T convert(Iterable<String> args, T target) throws CommandLineArgumentException { CommandLineParser parser = new CommandLineParser(); configure(parser);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 985 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/ParallelismConfigurationCommandLineConverterTest.groovy
import spock.lang.Specification class ParallelismConfigurationCommandLineConverterTest extends Specification { final def converter = new ParallelismBuildOptions().commandLineConverter() def "converts parallel executor"() { when: def result = convert("--parallel") then: result.parallelProjectExecutionEnabled == true when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 07 06:09:06 UTC 2022 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionSetTest.groovy
class BuildOptionSetTest extends Specification { def set = new OptionSet() def "can parse command-line options"() { def parser = new CommandLineParser() def converter = set.commandLineConverter() when: converter.configure(parser) def args = parser.parse("--some-option", "abc", "--some-flag") def bean = converter.convert(args, new Bean()) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:02:02 UTC 2023 - 2.4K bytes - Viewed (0)