Package 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
-
-
Constructor Summary
Constructors Constructor Description ExecCommand(String executable, List<String> args, String workingDir, Long timeout, Set<Integer> exitValues, InputStream input, File outFile, boolean useStderrOnEmptyStdout, org.apache.camel.LoggingLevel commandLogLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getArgs()org.apache.camel.LoggingLevelgetCommandLogLevel()StringgetExecutable()Set<Integer>getExitValues()InputStreamgetInput()FilegetOutFile()longgetTimeout()StringgetWorkingDir()booleanisUseStderrOnEmptyStdout()StringtoString()
-
-
-
Method Detail
-
getExecutable
public String getExecutable()
-
getInput
public InputStream getInput()
-
getOutFile
public File getOutFile()
-
getTimeout
public long getTimeout()
-
getWorkingDir
public String getWorkingDir()
-
isUseStderrOnEmptyStdout
public boolean isUseStderrOnEmptyStdout()
-
getCommandLogLevel
public org.apache.camel.LoggingLevel getCommandLogLevel()
-
-