|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.managers.plugin.data.DetectedPlugin<T>
public class DetectedPlugin<T extends Plugin>
Initial information gathered about existing plugin.
PluginManager
Constructor Summary | |
---|---|
DetectedPlugin(java.lang.String pluginFolder,
java.lang.String pluginFile,
PluginInformation information,
javax.swing.ImageIcon logo)
Constructs new information object about existing plugin. |
Method Summary | |
---|---|
java.lang.Throwable |
getException()
Returns load exception. |
java.lang.String |
getExceptionMessage()
Returns load exception message. |
java.lang.String |
getFailureCause()
Returns load failure cause. |
java.lang.String |
getFailureHtmlText()
Returns load failure HTML description. |
PluginInformation |
getInformation()
Returns plugin information. |
javax.swing.ImageIcon |
getLogo()
Returns plugin logo. |
T |
getPlugin()
Returns loaded plugin instance. |
java.lang.String |
getPluginFile()
Returns plugin file name. |
java.lang.String |
getPluginFolder()
Returns plugin folder path. |
PluginStatus |
getStatus()
Returns plugin status. |
void |
setException(java.lang.Throwable exception)
Sets load exception. |
void |
setExceptionMessage(java.lang.String exceptionMessage)
Sets load exception message. |
void |
setFailureCause(java.lang.String failureCause)
Sets load failure cause. |
void |
setPlugin(T plugin)
Sets loaded plugin instance. |
void |
setStatus(PluginStatus status)
Sets plugin status. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DetectedPlugin(java.lang.String pluginFolder, java.lang.String pluginFile, PluginInformation information, javax.swing.ImageIcon logo)
pluginFolder
- path to plugin file folderpluginFile
- plugin file nameinformation
- plugin informationlogo
- plugin logoMethod Detail |
---|
public java.lang.String getPluginFolder()
public java.lang.String getPluginFile()
public PluginInformation getInformation()
public javax.swing.ImageIcon getLogo()
public PluginStatus getStatus()
public void setStatus(PluginStatus status)
status
- new plugin statuspublic java.lang.String getFailureCause()
public void setFailureCause(java.lang.String failureCause)
failureCause
- new load failure causepublic java.lang.Throwable getException()
public void setException(java.lang.Throwable exception)
exception
- new load exceptionpublic java.lang.String getExceptionMessage()
public void setExceptionMessage(java.lang.String exceptionMessage)
exceptionMessage
- new load exception messagepublic java.lang.String getFailureHtmlText()
public T getPlugin()
public void setPlugin(T plugin)
plugin
- new loaded plugin instancepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |