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 Object implements Arg
  • Constructor Details

    • Argument

      public Argument()
  • Method Details

    • setValue

      public void setValue(String value)
      Specified by:
      setValue in interface Arg
      Parameters:
      value - Set the value.
    • setLine

      public void setLine(String line) throws CommandLineException
      Specified by:
      setLine in interface Arg
      Parameters:
      line - The line of arguments.
      Throws:
      CommandLineException
    • setFile

      public void setFile(File value)
      Specified by:
      setFile in interface Arg
      Parameters:
      value - The file to be set.
    • setMask

      public void setMask(boolean mask)
      To mask the argument value when a command line ask to print his arguments.
      Specified by:
      setMask in interface Arg
      Parameters:
      mask - new state of the maks property
    • isMask

      public boolean isMask()
      Returns:
      true/false