leafchat.core.api
Interface PluginLoadReporter


public interface PluginLoadReporter

Called to pass back information about progress of plugin load


Method Summary
 void reportFailure(java.io.File f, GeneralException ge)
           
 void reportFailure(leafchat.core.PluginClassLoader pcl, GeneralException ge)
           
 void reportFailure(leafchat.core.PluginClassLoader pcl, java.lang.String[] dependencies)
           
 void reportInstantiating(leafchat.core.PluginClassLoader pcl)
           
 void reportLoading(java.io.File f)
           
 void reportProgress(java.lang.String sProgress)
           
 

Method Detail

reportFailure

void reportFailure(java.io.File f,
                   GeneralException ge)
Parameters:
f - File that could not be loaded
ge - Exception describing failure

reportLoading

void reportLoading(java.io.File f)
Parameters:
f - File that we are now attempting to load

reportFailure

void reportFailure(leafchat.core.PluginClassLoader pcl,
                   GeneralException ge)
Parameters:
pcl - PluginClassLoader for plugin that could not be instantiated
ge - Exception describing failure

reportInstantiating

void reportInstantiating(leafchat.core.PluginClassLoader pcl)
Parameters:
pcl - Plugin that is being instantiated

reportFailure

void reportFailure(leafchat.core.PluginClassLoader pcl,
                   java.lang.String[] dependencies)
Parameters:
pcl - PluginClassLoader for plugin that could not be instantiated
dependencies - API dependencies that were not satisfied

reportProgress

void reportProgress(java.lang.String sProgress)
Parameters:
sProgress - Generic progress string to display


Copyright © 2011 Samuel Marshall. All rights reserved.