|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonar.api.utils.command.Command
public class Command
Method Summary | |
---|---|
Command |
addArgument(String arg)
|
Command |
addArguments(List<String> args)
|
Command |
addArguments(String[] args)
|
static Command |
create(String executable)
Create a command line without any arguments |
List<String> |
getArguments()
|
File |
getDirectory()
|
Map<String,String> |
getEnvironmentVariables()
Environment variables that are propagated during command execution. |
String |
getExecutable()
|
Command |
setDirectory(File d)
Sets working directory. |
Command |
setEnvironmentVariable(String name,
String value)
|
String |
toCommandLine()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getExecutable()
public List<String> getArguments()
public Command addArgument(String arg)
public Command addArguments(List<String> args)
public Command addArguments(String[] args)
public File getDirectory()
public Command setDirectory(File d)
public Command setEnvironmentVariable(String name, String value)
org.sonar.api.utils.command.Command#getEnvironmentVariables()}
public Map<String,String> getEnvironmentVariables()
public String toCommandLine()
public String toString()
toString
in class Object
public static Command create(String executable)
executable
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |