|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.modules.vcscore.cmdline.exec.StructuredExec
The representation of structured execution property.
Nested Class Summary | |
static class |
StructuredExec.Argument
Representation of an argument. The argument can be either a single String argument, or a sequence of space-separated arguments in a single String. |
Constructor Summary | |
StructuredExec(File working,
String executable,
StructuredExec.Argument[] args)
Creates a new instance of StructuredExec. |
Method Summary | |
void |
addArgument(int pos,
StructuredExec.Argument arg)
|
void |
addArgument(StructuredExec.Argument arg)
|
StructuredExec.Argument[] |
getArguments()
|
String |
getExecutable()
|
StructuredExec |
getExpanded(Hashtable vars,
boolean warnUndefVars)
|
File |
getWorking()
Get the working directory. |
void |
removeArgument(int pos)
|
void |
setArgument(int pos,
StructuredExec.Argument arg)
|
void |
setArguments(StructuredExec.Argument[] args)
|
void |
setExecutable(String executable)
|
void |
setWorking(File working)
Set the working directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StructuredExec(File working, String executable, StructuredExec.Argument[] args)
working
- The working directory or null
to use the current
working directory.executable
- The executableargs
- The list of arguments passed to the executableMethod Detail |
public File getWorking()
null
to use the current
working directory.public void setWorking(File working)
working
- The working directory or null
to use the current
working directory.public String getExecutable()
public void setExecutable(String executable)
public StructuredExec.Argument[] getArguments()
public void setArguments(StructuredExec.Argument[] args)
public void setArgument(int pos, StructuredExec.Argument arg)
public void addArgument(StructuredExec.Argument arg)
public void addArgument(int pos, StructuredExec.Argument arg)
public void removeArgument(int pos)
public StructuredExec getExpanded(Hashtable vars, boolean warnUndefVars)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |