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:
DefaultMySqlDumpService

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  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)
           
 
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

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)

getCommandLine

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


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