public class PrqaCommandLine extends Object implements net.praqma.util.execute.CommandLineInterface
Modifier and Type | Method and Description |
---|---|
static PrqaCommandLine |
getInstance() |
net.praqma.util.execute.CommandLineInterface.OperatingSystem |
getOS() |
net.praqma.util.execute.CmdResult |
run(String cmd) |
net.praqma.util.execute.CmdResult |
run(String cmd,
File dir) |
net.praqma.util.execute.CmdResult |
run(String cmd,
File dir,
boolean merge) |
net.praqma.util.execute.CmdResult |
run(String cmd,
File dir,
boolean merge,
boolean ignore) |
net.praqma.util.execute.CmdResult |
run(String cmd,
File dir,
boolean merge,
boolean ignore,
Map<String,String> variables) |
net.praqma.util.execute.CmdResult |
run(String cmd,
File dir,
boolean merge,
boolean ignore,
Map<String,String> variables,
PrintStream printStream) |
net.praqma.util.execute.CmdResult |
run(String cmd,
File dir,
boolean merge,
boolean ignore,
PrintStream printStream) |
protected Logger logger
public net.praqma.util.execute.CommandLineInterface.OperatingSystem getOS()
getOS
in interface net.praqma.util.execute.CommandLineInterface
public static PrqaCommandLine getInstance()
public net.praqma.util.execute.CmdResult run(String cmd) throws CommandLineException, net.praqma.util.execute.AbnormalProcessTerminationException
run
in interface net.praqma.util.execute.CommandLineInterface
CommandLineException
net.praqma.util.execute.AbnormalProcessTerminationException
public net.praqma.util.execute.CmdResult run(String cmd, File dir) throws CommandLineException, net.praqma.util.execute.AbnormalProcessTerminationException
run
in interface net.praqma.util.execute.CommandLineInterface
CommandLineException
net.praqma.util.execute.AbnormalProcessTerminationException
public net.praqma.util.execute.CmdResult run(String cmd, File dir, boolean merge) throws CommandLineException, net.praqma.util.execute.AbnormalProcessTerminationException
run
in interface net.praqma.util.execute.CommandLineInterface
CommandLineException
net.praqma.util.execute.AbnormalProcessTerminationException
public net.praqma.util.execute.CmdResult run(String cmd, File dir, boolean merge, boolean ignore) throws CommandLineException, net.praqma.util.execute.AbnormalProcessTerminationException
run
in interface net.praqma.util.execute.CommandLineInterface
CommandLineException
net.praqma.util.execute.AbnormalProcessTerminationException
public net.praqma.util.execute.CmdResult run(String cmd, File dir, boolean merge, boolean ignore, Map<String,String> variables) throws CommandLineException, net.praqma.util.execute.AbnormalProcessTerminationException
run
in interface net.praqma.util.execute.CommandLineInterface
CommandLineException
net.praqma.util.execute.AbnormalProcessTerminationException
public net.praqma.util.execute.CmdResult run(String cmd, File dir, boolean merge, boolean ignore, PrintStream printStream) throws CommandLineException, net.praqma.util.execute.AbnormalProcessTerminationException
CommandLineException
net.praqma.util.execute.AbnormalProcessTerminationException
public net.praqma.util.execute.CmdResult run(String cmd, File dir, boolean merge, boolean ignore, Map<String,String> variables, PrintStream printStream) throws CommandLineException, net.praqma.util.execute.AbnormalProcessTerminationException
CommandLineException
net.praqma.util.execute.AbnormalProcessTerminationException
Copyright © 2016–2022. All rights reserved.