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
-
-
Constructor Summary
Constructors Constructor Description Argument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.String[]
getParts()
boolean
isMask()
void
setFile(java.io.File value)
void
setLine(java.lang.String line)
void
setMask(boolean mask)
To mask the argument value when a command line ask to print his 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
-
setFile
public void setFile(java.io.File value)
-
setMask
public void setMask(boolean mask)
To mask the argument value when a command line ask to print his arguments.
-
getParts
private java.lang.String[] getParts()
- Returns:
- The parts.
-
isMask
public boolean isMask()
- Returns:
- true/false
-
-