org.codehaus.plexus.util.cli

Class Commandline.Argument

Enclosing Class:
Commandline

public static class Commandline.Argument
extends java.lang.Object

Used for nested xml command line definitions.

Field Summary

private String[]
parts

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.

Field Details

parts

private String[] parts

Method Details

getParts

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

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.

setLine

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

setValue

public void setValue(String value)
Sets a single commandline argument.
Parameters:
value - a single commandline argument.