Class 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
      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)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Argument

        public Argument()
    • Method Detail

      • setValue

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

        public void setLine​(java.lang.String line)
        Specified by:
        setLine in interface Arg
        Parameters:
        line - The line of arguments.
      • setFile

        public void setFile​(java.io.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