org.jboss.forge.shell.events
Class PreShutdown

java.lang.Object
  extended by org.jboss.forge.shell.events.PreShutdown

public final class PreShutdown
extends Object

Fired in response to receipt of the shell Shutdown command event. This event must be fired before the Shell continues shutdown procedures.

For example:

public void myObserver(@Observes PreShutdown event)
{
// do something
}

Author:
Lincoln Baxter, III

Constructor Summary
PreShutdown(Shutdown.Status status)
           
 
Method Summary
 Shutdown.Status getStatus()
          Get the status with which the shell is shutting down.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreShutdown

public PreShutdown(Shutdown.Status status)
Method Detail

getStatus

public Shutdown.Status getStatus()
Get the status with which the shell is shutting down.



Copyright © 2011 Seam Framework. All Rights Reserved.