org.apache.camel.component.exec
Class ExecCommand

java.lang.Object
  extended by 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
ExecCommand(String executable, List<String> args, String workingDir, Long timeout, InputStream input, File outFile, boolean useStderrOnEmptyStdout)
           
 
Method Summary
 List<String> getArgs()
           
 String getExecutable()
           
 InputStream getInput()
           
 File getOutFile()
           
 long getTimeout()
           
 String getWorkingDir()
           
 boolean isUseStderrOnEmptyStdout()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecCommand

public ExecCommand(String executable,
                   List<String> args,
                   String workingDir,
                   Long timeout,
                   InputStream input,
                   File outFile,
                   boolean useStderrOnEmptyStdout)
Method Detail

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.