Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for hasOption (0.06 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

        @Override
        public Optional<String> alternatePomFile() {
            if (commandLine.hasOption(CLIManager.ALTERNATE_POM_FILE)) {
                return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_POM_FILE));
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> offline() {
            if (commandLine.hasOption(CLIManager.OFFLINE)) {
                return Optional.of(Boolean.TRUE);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            String workingDirectory = cliRequest.getWorkingDirectory();
            MavenExecutionRequest request = cliRequest.getRequest();
    
            File userSettingsFile;
    
            if (commandLine.hasOption(CLIManager.ALTERNATE_USER_SETTINGS)) {
                userSettingsFile = new File(commandLine.getOptionValue(CLIManager.ALTERNATE_USER_SETTINGS));
                userSettingsFile = resolveFile(userSettingsFile, workingDirectory);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

            if (commandLine.hasOption(CLIManager.FAIL_ON_SEVERITY)) {
                return Optional.of(commandLine.getOptionValue(CLIManager.FAIL_ON_SEVERITY));
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> nonInteractive() {
            if (commandLine.hasOption(CLIManager.NON_INTERACTIVE) || commandLine.hasOption(CLIManager.BATCH_MODE)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            if (cl.hasOption(CLIManager.ALSO_MAKE) && !cl.hasOption(CLIManager.ALSO_MAKE_DEPENDENTS)) {
                return MavenExecutionRequest.REACTOR_MAKE_UPSTREAM;
            } else if (!cl.hasOption(CLIManager.ALSO_MAKE) && cl.hasOption(CLIManager.ALSO_MAKE_DEPENDENTS)) {
                return MavenExecutionRequest.REACTOR_MAKE_DOWNSTREAM;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

            }
        }
    
        @Override
        public Optional<Boolean> force() {
            if (commandLine.hasOption(CLIManager.FORCE)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> yes() {
            if (commandLine.hasOption(CLIManager.YES)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

            CommandLine commandLine = parser.parse(options, cleanArgs);
            // to trigger deprecation handler, so we can report deprecation BEFORE we actually use options
            options.getOptions().forEach(commandLine::hasOption);
            return commandLine;
        }
    
        public Set<Option> getUsedDeprecatedOptions() {
            return usedDeprecatedOptions;
        }
    
        public void displayHelp(PrintStream stdout) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. .teamcity/.mvn/wrapper/maven-wrapper.jar

    private final java.util.Map optionsByString; private final java.util.Set presentOptions; private final java.util.List extraArguments; void ParsedCommandLine(Iterable); public String toString(); private String quoteAndJoin(Iterable); public boolean hasOption(String); public boolean hasAnyOption(java.util.Collection); public ParsedCommandLineOpt option(String); public java.util.List getExtraArguments(); void addExtraValue(String); ParsedCommandLineOpt addOption(String, CommandLineOption); } org/apach...
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 49.5K bytes
    - Viewed (0)
Back to top