org.kuali.common.util.service
Class DefaultExecContext
java.lang.Object
org.kuali.common.util.service.DefaultExecContext
- All Implemented Interfaces:
- ExecContext
public class DefaultExecContext
- extends Object
- implements ExecContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExecContext
public DefaultExecContext()
getInput
public InputStream getInput()
- Specified by:
getInput
in interface ExecContext
setInput
public void setInput(InputStream input)
getExecutable
public String getExecutable()
- Specified by:
getExecutable
in interface ExecContext
setExecutable
public void setExecutable(String executable)
getArgs
public List<String> getArgs()
- Specified by:
getArgs
in interface ExecContext
setArgs
public void setArgs(List<String> args)
getTimeoutInSeconds
public int getTimeoutInSeconds()
- Specified by:
getTimeoutInSeconds
in interface ExecContext
setTimeoutInSeconds
public void setTimeoutInSeconds(int timeoutInSeconds)
getWorkingDirectory
public File getWorkingDirectory()
- Specified by:
getWorkingDirectory
in interface ExecContext
setWorkingDirectory
public void setWorkingDirectory(File workingDirectory)
getStandardOutConsumer
public org.codehaus.plexus.util.cli.StreamConsumer getStandardOutConsumer()
- Specified by:
getStandardOutConsumer
in interface ExecContext
setStandardOutConsumer
public void setStandardOutConsumer(org.codehaus.plexus.util.cli.StreamConsumer standardOutConsumer)
getStandardErrConsumer
public org.codehaus.plexus.util.cli.StreamConsumer getStandardErrConsumer()
- Specified by:
getStandardErrConsumer
in interface ExecContext
setStandardErrConsumer
public void setStandardErrConsumer(org.codehaus.plexus.util.cli.StreamConsumer standardErrConsumer)
Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.