org.apache.maven.it.util.cli
Class Commandline.Argument

java.lang.Object
  extended by org.apache.maven.it.util.cli.Commandline.Argument
Enclosing class:
Commandline

public static class Commandline.Argument
extends Object

Used for nested xml command line definitions.


Constructor Summary
Commandline.Argument()
           
 
Method Summary
 String[] getParts()
          Returns the parts this Argument consists of.
 void setFile(File value)
          Sets a single commandline argument to the absolute filename of the given file.
 void setLine(String line)
          Line to split into several commandline arguments.
 void setValue(String value)
          Sets a single commandline argument.
 
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)
Sets a single commandline argument.

Parameters:
value - a single commandline argument.

setLine

public void setLine(String line)
Line to split into several commandline arguments.

Parameters:
line - line to split into several commandline arguments

setFile

public void setFile(File value)
Sets a single commandline argument to the absolute filename of the given file.

Parameters:
value - a single commandline argument.

getParts

public String[] getParts()
Returns the parts this Argument consists of.



Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.