| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| BuddiRunnablePlugin |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Created on Sep 14, 2006 by wyatt | |
| 3 | * | |
| 4 | * The interface which can be extended to create custom reports. | |
| 5 | */ | |
| 6 | package org.homeunix.thecave.buddi.plugin.api; | |
| 7 | ||
| 8 | import ca.digitalcave.moss.application.plugin.MossRunnablePlugin; | |
| 9 | import ca.digitalcave.moss.common.Version; | |
| 10 | ||
| 11 | /** | |
| 12 | * A generic Buddi plugin, which will be loaded at the beginning of | |
| 13 | * the session, just after the init() of MainFrame is completed. | |
| 14 | * You can use this plugin type for extending main Buddi | |
| 15 | * functionality, instead of adding well defined features | |
| 16 | * such as Reports and Export abilities. | |
| 17 | * | |
| 18 | * To aid in running this (and to potentially allow it to be run in | |
| 19 | * a thread, if desired) this plugin implements Runnable. When implementing | |
| 20 | * this class, just create the run() method with whatever code you wish. | |
| 21 | * | |
| 22 | * | |
| 23 | * @author wyatt | |
| 24 | */ | |
| 25 | 0 | public abstract class BuddiRunnablePlugin extends PreferenceAccess implements MossRunnablePlugin { |
| 26 | ||
| 27 | public Version getMaximumVersion() { | |
| 28 | 0 | return null; |
| 29 | } | |
| 30 | ||
| 31 | public Version getMinimumVersion() { | |
| 32 | 0 | return null; |
| 33 | } | |
| 34 | } |