Forge - Shell API 1.2.0.Final

org.jboss.forge.shell.events
Class Startup

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

public final class Startup
extends Object

Fired as a signal to the shell to bootstrap and accept user input. Should be fired only once per application runtime unless followed by a subsequent Shutdown event.

For example:

@Inject Event<Startup> startup;
...
startup.fire(new Startup());

Author:
Lincoln Baxter, III

Constructor Summary
Startup()
           
Startup(File workingDirectory)
           
Startup(File workingDirectory, boolean restart)
           
 
Method Summary
 File getWorkingDirectory()
           
 boolean isRestart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Startup

public Startup()

Startup

public Startup(File workingDirectory)

Startup

public Startup(File workingDirectory,
               boolean restart)
Method Detail

getWorkingDirectory

public File getWorkingDirectory()

isRestart

public boolean isRestart()

Forge - Shell API 1.2.0.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.