org.kuali.common.util.service
Class DefaultExecService
java.lang.Object
org.kuali.common.util.service.DefaultExecService
- All Implemented Interfaces:
- ExecService
- Direct Known Subclasses:
- DefaultMavenService, DefaultMySqlDumpService, SvnService
public class DefaultExecService
- extends Object
- implements ExecService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExecService
public DefaultExecService()
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.