Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for CommandLineArgumentException (0.48 sec)

  1. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineArgumentException.java

     */
    package org.gradle.cli;
    
    /**
     * A {@code CommandLineArgumentException} is thrown when command-line arguments cannot be parsed.
     */
    public class CommandLineArgumentException extends RuntimeException {
        public CommandLineArgumentException(String message) {
            super(message);
        }
    
        public CommandLineArgumentException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 1019 bytes
    - Viewed (0)
  2. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/BuildOptionSet.java

     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption;
    
    import org.gradle.cli.AbstractCommandLineConverter;
    import org.gradle.cli.CommandLineArgumentException;
    import org.gradle.cli.CommandLineConverter;
    import org.gradle.cli.CommandLineParser;
    import org.gradle.cli.ParsedCommandLine;
    
    import java.util.List;
    import java.util.Map;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 11:25:33 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/PropertiesConverter.java

     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption;
    
    import org.gradle.cli.CommandLineArgumentException;
    
    import java.util.Map;
    
    public interface PropertiesConverter<T> {
        T convert(Map<String, String> properties, T target) throws CommandLineArgumentException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 11:25:33 UTC 2024
    - 872 bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/initialization/ParallelismConfigurationCommandLineConverterTest.groovy

            convert("--max-workers", value);
    
            then:
            thrown(CommandLineArgumentException)
    
            where:
            value << ["foo", "0"]
        }
    
        def "throws exception for invalid max workers argument when converting"() {
            when:
            convert("--max-workers", "-1")
    
            then:
            Throwable t = thrown(CommandLineArgumentException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 07 06:09:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/Origin.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption;
    
    import org.gradle.cli.CommandLineArgumentException;
    import org.gradle.util.internal.TextUtil;
    
    public abstract class Origin {
        protected String source;
    
        public static Origin forGradleProperty(String gradleProperty) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/initialization/LayoutCommandLineConverter.java

     * limitations under the License.
     */
    
    package org.gradle.initialization;
    
    import org.gradle.cli.AbstractCommandLineConverter;
    import org.gradle.cli.CommandLineArgumentException;
    import org.gradle.cli.CommandLineConverter;
    import org.gradle.cli.CommandLineParser;
    import org.gradle.cli.ParsedCommandLine;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 02 09:26:15 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineConverter.java

     * 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;
    
        void configure(CommandLineParser parser);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 903 bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/converter/StartParameterConverter.java

    import org.gradle.api.internal.StartParameterInternal;
    import org.gradle.api.launcher.cli.WelcomeMessageConfiguration;
    import org.gradle.api.logging.configuration.LoggingConfiguration;
    import org.gradle.cli.CommandLineArgumentException;
    import org.gradle.cli.CommandLineParser;
    import org.gradle.cli.ParsedCommandLine;
    import org.gradle.cli.ProjectPropertiesCommandLineConverter;
    import org.gradle.concurrent.ParallelismConfiguration;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 11:25:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/BuildEnvironmentConfigurationConverter.java

     */
    
    package org.gradle.launcher.cli;
    
    import org.gradle.api.internal.StartParameterInternal;
    import org.gradle.api.internal.file.FileCollectionFactory;
    import org.gradle.cli.CommandLineArgumentException;
    import org.gradle.cli.CommandLineParser;
    import org.gradle.cli.ParsedCommandLine;
    import org.gradle.initialization.layout.BuildLayoutFactory;
    import org.gradle.jvm.toolchain.internal.ToolchainConfiguration;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/commandline/CommandLineTaskConfigurer.java

    import org.gradle.api.internal.tasks.TaskOptionsGenerator.TaskOptions;
    import org.gradle.api.internal.tasks.options.OptionDescriptor;
    import org.gradle.api.internal.tasks.options.OptionReader;
    import org.gradle.cli.CommandLineArgumentException;
    import org.gradle.cli.CommandLineParser;
    import org.gradle.cli.ParsedCommandLine;
    import org.gradle.cli.ParsedCommandLineOption;
    import org.gradle.internal.service.scopes.Scope;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top