com.virtuosotechnologies.asaph.launch
Interface Launcher


public interface Launcher

API exposed by the launcher


Field Summary
static ConstrainedKey LOCALE_PROPERTY
          Property for the startup locale.
static ConstrainedKey LOGFILEPATH_PROPERTY
          Property for the startup log file path.
static ConstrainedKey LOGGERLEVEL_PROPERTY
          Property for the startup logger level.
static ConstrainedKey LOGTOCONSOLE_PROPERTY
          Property for the startup log-to-console setting.
static ConstrainedKey LOGTOFILE_PROPERTY
          Property for the startup log-to-file setting.
static ConstrainedKey LOOKANDFEEL_PROPERTY
          Property for the startup look-and-feel class name.
static ConstrainedKey PLUGINDIR_PROPERTY
          Property for the startup plugin directory path.
 
Method Summary
 void addLaunchCompleter(LaunchCompleter completer)
          Add a callback to call on completion of the launch.
 void attemptQuit()
          Attempt to quit Asaph.
 RequestablePropertySet getStartupProperties()
          Get the startup properties
 void openAboutBox()
          Open the about box.
 

Field Detail

LOOKANDFEEL_PROPERTY

public static final ConstrainedKey LOOKANDFEEL_PROPERTY
Property for the startup look-and-feel class name. Type is String.


LOCALE_PROPERTY

public static final ConstrainedKey LOCALE_PROPERTY
Property for the startup locale. Type is Locale.


PLUGINDIR_PROPERTY

public static final ConstrainedKey PLUGINDIR_PROPERTY
Property for the startup plugin directory path. Type is File.


LOGGERLEVEL_PROPERTY

public static final ConstrainedKey LOGGERLEVEL_PROPERTY
Property for the startup logger level. Type is Level.


LOGFILEPATH_PROPERTY

public static final ConstrainedKey LOGFILEPATH_PROPERTY
Property for the startup log file path. Type is File.


LOGTOCONSOLE_PROPERTY

public static final ConstrainedKey LOGTOCONSOLE_PROPERTY
Property for the startup log-to-console setting. Type is Boolean.


LOGTOFILE_PROPERTY

public static final ConstrainedKey LOGTOFILE_PROPERTY
Property for the startup log-to-file setting. Type is Boolean.

Method Detail

addLaunchCompleter

public void addLaunchCompleter(LaunchCompleter completer)
Add a callback to call on completion of the launch.

Parameters:
completer - a LaunchCompleter

openAboutBox

public void openAboutBox()
Open the about box.


getStartupProperties

public RequestablePropertySet getStartupProperties()
Get the startup properties

Returns:
modifiable view of startup properties

attemptQuit

public void attemptQuit()
Attempt to quit Asaph. This method never returns normally. If it does return, it means the attempt to quit was unsuccessful.