org.apache.maven.shared.utils.cli
Class Commandline.Argument

java.lang.Object
  extended by 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 Summary
Commandline.Argument()
           
 
Method Summary
 boolean isMask()
           
 void setFile(File value)
          
 void setLine(String line)
          
 void setMask(boolean mask)
          To mask the argument value when a command line ask to print his arguments.
 void setValue(String value)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Commandline.Argument

public Commandline.Argument()
Method Detail

setValue

public void setValue(String value)

Specified by:
setValue in interface Arg

setLine

public void setLine(String line)

Specified by:
setLine in interface Arg

setFile

public void setFile(File value)

Specified by:
setFile in interface Arg

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()


Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.