shell
Class ShellCommand

java.lang.Object
  |
  +--shell.Command
        |
        +--shell.ShellCommand
All Implemented Interfaces:
Executable, java.lang.Runnable, ShellExecutable
Direct Known Subclasses:
cd, cp, del, echo, kill, ls, mkdir, ps, pwd, set, type

public abstract class ShellCommand
extends Command
implements ShellExecutable

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

Field Summary
 
Fields inherited from class shell.Command
in, out
 
Constructor Summary
ShellCommand()
           
 
Methods inherited from class shell.Command
addActiveSwitch, addSwitch, addThreadListener, containsSwitch, doRun, equals, equals, getActive, getId, getLock, getName, getOutStream, getReader, getSwitch, isPipeable, lock, processSwitches, removeThreadListener, run, setActive, setArgs, setArgs, setId, setIncomming, setInputStream, setLock, setOutputStream, setOutStream, stillIncomming, unlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface shell.Executable
addActiveSwitch, addSwitch, addThreadListener, containsSwitch, equals, equals, getActive, getId, getName, getOutStream, getReader, getSwitch, isPipeable, lock, processSwitches, removeThreadListener, run, setActive, setArgs, setArgs, setId, setIncomming, setInputStream, setLock, setOutputStream, setOutStream, stillIncomming, unlock
 

Constructor Detail

ShellCommand

public ShellCommand()