org.homeunix.thecave.buddi.plugin.api
Class BuddiRunnablePlugin
java.lang.Object
org.homeunix.thecave.buddi.plugin.api.PreferenceAccess
org.homeunix.thecave.buddi.plugin.api.BuddiRunnablePlugin
- All Implemented Interfaces:
- java.lang.Runnable, MossPlugin, MossRunnablePlugin
public abstract class BuddiRunnablePlugin
- extends PreferenceAccess
- implements MossRunnablePlugin
A generic Buddi plugin, which will be loaded at the beginning of
the session, just after the init() of MainFrame is completed.
You can use this plugin type for extending main Buddi
functionality, instead of adding well defined features
such as Reports and Export abilities.
To aid in running this (and to potentially allow it to be run in
a thread, if desired) this plugin implements Runnable. When implementing
this class, just create the run() method with whatever code you wish.
- Author:
- wyatt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
BuddiRunnablePlugin
public BuddiRunnablePlugin()
getMaximumVersion
public Version getMaximumVersion()
- Description copied from interface:
MossPlugin
- Returns the maximum program version needed to run this plugin.
If this is null, there is no limitation on the program
(not recommended unless you can guarantee that the plugin uses
no API calls within the program).
- Specified by:
getMaximumVersion in interface MossPlugin
- Returns:
- The Version object containing the maximum version number.
getMinimumVersion
public Version getMinimumVersion()
- Description copied from interface:
MossPlugin
- Returns the minimum program version needed to run this plugin.
If this is null, there is no limitation on the program
(not recommended unless you can guarantee that the plugin uses
no API calls within the program).
- Specified by:
getMinimumVersion in interface MossPlugin
- Returns:
- The Version object containing the minimum version number.