org.apache.camel.component.exec
Class ExecCommand
java.lang.Object
org.apache.camel.component.exec.ExecCommand
- All Implemented Interfaces:
- Serializable
public class ExecCommand
- extends Object
- implements Serializable
Value object that describes the command to be executed.
- See Also:
- Serialized Form
ExecCommand
public ExecCommand(String executable,
List<String> args,
String workingDir,
Long timeout,
InputStream input,
File outFile,
boolean useStderrOnEmptyStdout)
getArgs
public List<String> getArgs()
getExecutable
public String getExecutable()
getInput
public InputStream getInput()
getOutFile
public File getOutFile()
getTimeout
public long getTimeout()
getWorkingDir
public String getWorkingDir()
isUseStderrOnEmptyStdout
public boolean isUseStderrOnEmptyStdout()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.