Package org.apache.maven.wrapper.cli
Class ParsedCommandLine
java.lang.Object
org.apache.maven.wrapper.cli.ParsedCommandLine
Parsed command line.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasAnyOption
(Collection<String> logLevelOptions) See alsohasOption(java.lang.String)
.boolean
Returns true if the given option is present in this command-line.Returns the value of the given option.toString()
-
Method Details
-
toString
-
hasOption
Returns true if the given option is present in this command-line.- Parameters:
option
- The option, without the '-' or '--' prefix.- Returns:
- true if the option is present.
-
hasAnyOption
See alsohasOption(java.lang.String)
.- Parameters:
logLevelOptions
- the options to check- Returns:
- true if any of the passed options is present
-
option
Returns the value of the given option.- Parameters:
option
- The option, without the '-' or '--' prefix.- Returns:
- The option. never returns null.
-
getExtraArguments
-