shell
Class PipeCommand

java.lang.Object
  |
  +--shell.PipeCommand
Direct Known Subclasses:
sift

public class PipeCommand
extends java.lang.Object

Runtime command is a base class that all apps must extend to work inside Freelance. It provides basic functionality for the apps including and output stream and switch handling.

See Also:
TerminalThread

Constructor Summary
PipeCommand()
           
 
Method Summary
 void doRun()
           
 boolean isPipeable()
          RuntimeCommands will not be able to be piped.
 void setIncomming(boolean income)
           
 boolean stillIncomming()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipeCommand

public PipeCommand()
Method Detail

stillIncomming

public boolean stillIncomming()

setIncomming

public void setIncomming(boolean income)

isPipeable

public boolean isPipeable()
RuntimeCommands will not be able to be piped. PipeCommand returns true from this method so the ProcessController can recognise it as a pipeable command.

Returns:
Whether the app can accept piped data.
See Also:
Pipe

doRun

public void doRun()