de.willuhn.boot.Bootable
public class DeployService
extends java.lang.Object
implements de.willuhn.boot.Bootable
Constructor | Description |
---|---|
DeployService() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Class[] |
depends() |
|
void |
deploy(ZippedPlugin plugin,
PluginSource source,
de.willuhn.util.ProgressMonitor monitor) |
Deployed das angegebene Plugin.
|
void |
deploy(ZippedPlugin plugin,
PluginSource source,
de.willuhn.util.ProgressMonitor monitor,
boolean multi) |
Deployed das angegebene Plugin.
|
void |
init(de.willuhn.boot.BootLoader loader,
de.willuhn.boot.Bootable caller) |
|
void |
shutdown() |
|
void |
update(Manifest current,
ZippedPlugin plugin,
de.willuhn.util.ProgressMonitor monitor) |
Aktualisiert ein bereits installiertes Plugin.
|
public java.lang.Class[] depends()
depends
in interface de.willuhn.boot.Bootable
Bootable.depends()
public void init(de.willuhn.boot.BootLoader loader, de.willuhn.boot.Bootable caller) throws de.willuhn.boot.SkipServiceException
init
in interface de.willuhn.boot.Bootable
de.willuhn.boot.SkipServiceException
Bootable.init(de.willuhn.boot.BootLoader, de.willuhn.boot.Bootable)
public void update(Manifest current, ZippedPlugin plugin, de.willuhn.util.ProgressMonitor monitor)
current
- das installierte Plugin.plugin
- das zu aktualisierende Plugin.monitor
- der Progressmonitor zur Anzeige des Fortschrittes.public void deploy(ZippedPlugin plugin, PluginSource source, de.willuhn.util.ProgressMonitor monitor)
plugin
- das Plugin.source
- die Installations-Quelle, in der das Plugin entpackt werden soll.
Wenn keine angegeben ist, wird im User-Plugin-Ordner deployed.monitor
- der Progressmonitor zur Anzeige des Fortschrittes.public void deploy(ZippedPlugin plugin, PluginSource source, de.willuhn.util.ProgressMonitor monitor, boolean multi)
plugin
- das Plugin.source
- die Installations-Quelle, in der das Plugin entpackt werden soll.
Wenn keine angegeben ist, wird im User-Plugin-Ordner deployed.monitor
- der Progressmonitor zur Anzeige des Fortschrittes.multi
- true, wenn mehrere Plugins in Folge installiert werden.public void shutdown()
shutdown
in interface de.willuhn.boot.Bootable
Bootable.shutdown()