org.kuali.common.util.service
Class DefaultExecService

java.lang.Object
  extended by org.kuali.common.util.service.DefaultExecService
All Implemented Interfaces:
ExecService
Direct Known Subclasses:
DefaultMavenService, DefaultMySqlDumpService, SvnService

public class DefaultExecService
extends Object
implements ExecService


Constructor Summary
DefaultExecService()
           
 
Method Summary
 int execute(ExecContext context)
           
protected  int execute(ExecContext context, org.codehaus.plexus.util.cli.Commandline cl)
           
 int execute(String executable, List<String> args)
           
protected  int executeAndValidate(ExecContext context)
           
protected  int executeAndValidate(String executable, List<String> args)
           
protected  org.codehaus.plexus.util.cli.Commandline getCommandLine(ExecContext context)
           
protected  org.codehaus.plexus.util.cli.StreamConsumer getStreamConsumer(org.codehaus.plexus.util.cli.StreamConsumer provided, org.slf4j.Logger logger, LoggerLevel level)
           
protected  void validateExitValue(int exitValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExecService

public DefaultExecService()
Method Detail

execute

public int execute(ExecContext context)
Specified by:
execute in interface ExecService

execute

public int execute(String executable,
                   List<String> args)
Specified by:
execute in interface ExecService

executeAndValidate

protected int executeAndValidate(String executable,
                                 List<String> args)

executeAndValidate

protected int executeAndValidate(ExecContext context)

execute

protected int execute(ExecContext context,
                      org.codehaus.plexus.util.cli.Commandline cl)

getStreamConsumer

protected org.codehaus.plexus.util.cli.StreamConsumer getStreamConsumer(org.codehaus.plexus.util.cli.StreamConsumer provided,
                                                                        org.slf4j.Logger logger,
                                                                        LoggerLevel level)

validateExitValue

protected void validateExitValue(int exitValue)

getCommandLine

protected org.codehaus.plexus.util.cli.Commandline getCommandLine(ExecContext context)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.