public class PluginWithDeps extends UnloadablePlugin
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<Plugin,String> |
GET_KEY |
pluginArtifact| Constructor and Description |
|---|
PluginWithDeps(String key) |
PluginWithDeps(String key,
PluginDependencies deps) |
PluginWithDeps(String key,
String... deps) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
disableInternal() |
void |
enable() |
PluginDependencies |
getDependencies() |
int |
getTimesDisabled() |
int |
getTimesEnabled() |
close, getErrorText, isDeleteable, isDynamicallyLoaded, isEnabledByDefault, isUninstallable, setDeletable, setDynamicallyLoaded, setErrorText, setUninstallable, toString, uninstallInternalgetClassLoader, getResource, getResourceAsStream, loadClassaddDynamicModuleDescriptor, addModuleDescriptor, cleanVersionString, compareAndSetPluginState, compareTo, containsSystemModule, disable, enableInternal, getActivePermissions, getDateEnabled, getDateEnabling, getDateInstalled, getDateLoaded, getDynamicModuleDescriptors, getI18nNameKey, getInstallationMode, getKey, getLog, getModuleDescriptor, getModuleDescriptors, getModuleDescriptorsByModuleClass, getName, getPluginArtifact, getPluginInformation, getPluginState, getPluginsVersion, getRequiredPlugins, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hasAllPermissions, install, installInternal, isBundledPlugin, isSystemPlugin, removeDynamicModuleDescriptor, removeModuleDescriptor, resolve, setBundledPlugin, setEnabledByDefault, setI18nNameKey, setKey, setName, setPluginInformation, setPluginState, setPluginsVersion, setResources, setSystemPlugin, uninstallpublic PluginWithDeps(String key)
public PluginWithDeps(String key, PluginDependencies deps)
public void enable()
enable in interface Pluginenable in class AbstractPluginpublic int getTimesEnabled()
public int getTimesDisabled()
protected void disableInternal()
throws PluginException
disableInternal in class AbstractPluginPluginException@Nonnull public PluginDependencies getDependencies()
getDependencies in interface PlugingetDependencies in class AbstractPluginCopyright © 2019 Atlassian. All rights reserved.