Class Commandline.Argument
- java.lang.Object
-
- org.apache.maven.shared.utils.cli.Commandline.Argument
-
- All Implemented Interfaces:
Arg
- Enclosing class:
- Commandline
public static class Commandline.Argument extends java.lang.Object implements Arg
A single command line argument
-
-
Constructor Summary
Constructors Constructor Description Argument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isMask()
void
setFile(java.io.File value)
void
setLine(java.lang.String line)
void
setMask(boolean mask)
Whether to hide the argument value when a command line prints the arguments.void
setValue(java.lang.String value)
-
-
-
Method Detail
-
setValue
public void setValue(java.lang.String value)
-
setLine
public void setLine(java.lang.String line) throws CommandLineException
- Specified by:
setLine
in interfaceArg
- Parameters:
line
- the line of arguments- Throws:
CommandLineException
- in case of unbalanced quotes.
-
setFile
public void setFile(java.io.File value)
-
setMask
public void setMask(boolean mask)
Whether to hide the argument value when a command line prints the arguments.
-
isMask
public boolean isMask()
- Returns:
- true/false
-
-