java.lang.CloneableImplementationSpecificArgumentpublic static class Commandline.Argument extends ProjectComponent
description, location, project| Constructor | Description |
|---|---|
Argument() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String[] |
getParts() |
Return the constituent parts of this Argument.
|
void |
setFile(java.io.File value) |
Set a single commandline argument to the absolute filename
of the given file.
|
void |
setLine(java.lang.String line) |
Set the line to split into several commandline arguments.
|
void |
setPath(Path value) |
Set a single commandline argument and treats it like a
PATH--ensuring the right separator for the local platform
is used.
|
void |
setPathref(Reference value) |
Set a single commandline argument from a reference to a
path--ensuring the right separator for the local platform
is used.
|
void |
setPrefix(java.lang.String prefix) |
Set the prefix to be placed in front of every part of the
argument.
|
void |
setSuffix(java.lang.String suffix) |
Set the suffix to be placed at the end of every part of the
argument.
|
void |
setValue(java.lang.String value) |
Set a single commandline argument.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic void setValue(java.lang.String value)
value - a single commandline argument.public void setLine(java.lang.String line)
line - line to split into several commandline arguments.public void setPath(Path value)
value - a single commandline argument.public void setPathref(Reference value)
value - a single commandline argument.public void setFile(java.io.File value)
value - a single commandline argument.public void setPrefix(java.lang.String prefix)
prefix - fixed prefix string.public void setSuffix(java.lang.String suffix)
suffix - fixed suffix string.public java.lang.String[] getParts()