org.codehaus.plexus.util.cli
Class CLICallable

java.lang.Object
  extended by org.codehaus.plexus.util.cli.CLICallable
All Implemented Interfaces:
Callable<Integer>, org.codehaus.plexus.util.cli.CommandLineCallable

public class CLICallable
extends Object
implements org.codehaus.plexus.util.cli.CommandLineCallable


Constructor Summary
CLICallable(int timeoutInSeconds, StreamFeeder inputFeeder, StreamPumper outputPumper, StreamPumper errorPumper, Process p, ProcessHook processHook)
           
 
Method Summary
 Integer call()
           
 StreamPumper getErrorPumper()
           
 StreamFeeder getInputFeeder()
           
 StreamPumper getOutputPumper()
           
 Process getP()
           
 ProcessHook getProcessHook()
           
 int getTimeoutInSeconds()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLICallable

public CLICallable(int timeoutInSeconds,
                   StreamFeeder inputFeeder,
                   StreamPumper outputPumper,
                   StreamPumper errorPumper,
                   Process p,
                   ProcessHook processHook)
Method Detail

call

public Integer call()
             throws org.codehaus.plexus.util.cli.CommandLineException
Specified by:
call in interface Callable<Integer>
Specified by:
call in interface org.codehaus.plexus.util.cli.CommandLineCallable
Throws:
org.codehaus.plexus.util.cli.CommandLineException

getTimeoutInSeconds

public int getTimeoutInSeconds()

getInputFeeder

public StreamFeeder getInputFeeder()

getOutputPumper

public StreamPumper getOutputPumper()

getErrorPumper

public StreamPumper getErrorPumper()

getP

public Process getP()

getProcessHook

public ProcessHook getProcessHook()


Copyright © 2010–2014 The Kuali Foundation. All rights reserved.