net.praqma.util.execute
Interface CommandLineInterface

All Known Implementing Classes:
CommandLine

public interface CommandLineInterface


Nested Class Summary
static class CommandLineInterface.OperatingSystem
           
 
Method Summary
 CommandLineInterface.OperatingSystem getOS()
           
 CmdResult run(String cmd)
           
 CmdResult run(String cmd, File dir)
           
 CmdResult run(String cmd, File dir, boolean merge)
           
 CmdResult run(String cmd, File dir, boolean merge, boolean ignore)
           
 void setLogger(PraqmaLogger.Logger logger)
           
 

Method Detail

getOS

CommandLineInterface.OperatingSystem getOS()

setLogger

void setLogger(PraqmaLogger.Logger logger)

run

CmdResult run(String cmd)
              throws CommandLineException,
                     AbnormalProcessTerminationException
Throws:
CommandLineException
AbnormalProcessTerminationException

run

CmdResult run(String cmd,
              File dir)
              throws CommandLineException,
                     AbnormalProcessTerminationException
Throws:
CommandLineException
AbnormalProcessTerminationException

run

CmdResult run(String cmd,
              File dir,
              boolean merge)
              throws CommandLineException,
                     AbnormalProcessTerminationException
Throws:
CommandLineException
AbnormalProcessTerminationException

run

CmdResult run(String cmd,
              File dir,
              boolean merge,
              boolean ignore)
              throws CommandLineException,
                     AbnormalProcessTerminationException
Throws:
CommandLineException
AbnormalProcessTerminationException


Copyright © 2011. All Rights Reserved.