org.apache.continuum.utils.shell
Interface ShellCommandHelper

All Known Implementing Classes:
DefaultShellCommandHelper

public interface ShellCommandHelper

Version:
$Id: ShellCommandHelper.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Trygve Laugstøl

Field Summary
static String ROLE
           
 
Method Summary
 void executeGoals(File workingDirectory, String executable, String goals, boolean interactive, String[] arguments, org.apache.maven.shared.release.ReleaseResult relResult, Map<String,String> environments)
           
 void executeGoals(File workingDirectory, String executable, String goals, boolean interactive, String arguments, org.apache.maven.shared.release.ReleaseResult relResult, Map<String,String> environments)
           
 ExecutionResult executeShellCommand(File workingDirectory, String executable, String[] arguments, File output, long idCommand, Map<String,String> environments)
           
 ExecutionResult executeShellCommand(File workingDirectory, String executable, String arguments, File output, long idCommand, Map<String,String> environments)
           
 boolean isRunning(long idCommand)
           
 void killProcess(long idCommand)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

executeShellCommand

ExecutionResult executeShellCommand(File workingDirectory,
                                    String executable,
                                    String arguments,
                                    File output,
                                    long idCommand,
                                    Map<String,String> environments)
                                    throws Exception
Throws:
Exception

executeShellCommand

ExecutionResult executeShellCommand(File workingDirectory,
                                    String executable,
                                    String[] arguments,
                                    File output,
                                    long idCommand,
                                    Map<String,String> environments)
                                    throws Exception
Throws:
Exception

isRunning

boolean isRunning(long idCommand)

killProcess

void killProcess(long idCommand)

executeGoals

void executeGoals(File workingDirectory,
                  String executable,
                  String goals,
                  boolean interactive,
                  String arguments,
                  org.apache.maven.shared.release.ReleaseResult relResult,
                  Map<String,String> environments)
                  throws Exception
Throws:
Exception

executeGoals

void executeGoals(File workingDirectory,
                  String executable,
                  String goals,
                  boolean interactive,
                  String[] arguments,
                  org.apache.maven.shared.release.ReleaseResult relResult,
                  Map<String,String> environments)
                  throws Exception
Throws:
Exception


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.