public class ExtensionWrapper extends java.lang.Object implements ExtensionDependencySupplier
Constructor and Description |
---|
ExtensionWrapper(ExtensionManifest manifest) |
Modifier and Type | Method and Description |
---|---|
ExtensionDependency |
asDependency() |
BaseExtension |
getExtension() |
ExtensionManifest |
getManifest() |
boolean |
hasCheckedForUpdates() |
boolean |
isActivated() |
boolean |
isInstalled() |
boolean |
isUpdateAvailable() |
void |
loadExtension(java.net.URLClassLoader extensionLoader) |
void |
setActivated(boolean isActivated) |
void |
setHasCheckedForUpdates(boolean checkedForUpdates) |
void |
setInstalled(boolean isInstalled) |
void |
setUpdateAvailable(boolean updateAvailable) |
java.lang.String |
toString() |
void |
unloadExtension() |
public ExtensionWrapper(ExtensionManifest manifest)
public BaseExtension getExtension()
public ExtensionManifest getManifest()
public boolean isInstalled()
public void setInstalled(boolean isInstalled)
public void loadExtension(java.net.URLClassLoader extensionLoader) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
public void unloadExtension()
public boolean isActivated()
public void setUpdateAvailable(boolean updateAvailable)
public boolean isUpdateAvailable()
public void setHasCheckedForUpdates(boolean checkedForUpdates)
public boolean hasCheckedForUpdates()
public java.lang.String toString()
toString
in class java.lang.Object
public ExtensionDependency asDependency()
asDependency
in interface ExtensionDependencySupplier
public void setActivated(boolean isActivated)