org.jboss.forge.shell.events
Class PreShutdown
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreShutdown
public PreShutdown(Shutdown.Status status)
getStatus
public Shutdown.Status getStatus()
- Get the status with which the shell is shutting down.
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.