commands
Class shutdown

java.lang.Object
  extended by java.lang.Thread
      extended by kernel.AbstractProcess
          extended by commands.shutdown
All Implemented Interfaces:
java.lang.Runnable, IProcess

public class shutdown
extends AbstractProcess

Terminates the system by terminating the root process.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
shutdown()
           
 
Method Summary
 java.lang.String getHelp()
          Provides full description of the command to be used in the MAN command.
 void realization()
          Realizes the SHUTDOWN command.
 
Methods inherited from class kernel.AbstractProcess
enableStdIn, equals, exec, getArgs, getCommand, getCurrentPath, getErrOut, getFirstChild, getID, getIn, getKernel, getNext, getOut, getParent, getParentCurrentPath, getParentShell, getPrevious, getServices, init, init, kill, printError, run, setCurrentPath, setErrOut, setFirstChild, setIn, setNext, setOut, setParentCurrentPath, setPrevious, toString
 
Methods inherited from class java.lang.Thread
activeCount, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, checkAccess, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

shutdown

public shutdown()
Method Detail

getHelp

public java.lang.String getHelp()
Provides full description of the command to be used in the MAN command.

Returns:
Full description of the command including the syntax.

realization

public void realization()
                 throws AppException
Realizes the SHUTDOWN command.

Throws:
AppException - Exception caused by an error in the virtual machines manager.