public class MockContainerManagedPlugin extends AbstractPlugin implements ContainerManagedPlugin
pluginArtifact| Constructor and Description |
|---|
MockContainerManagedPlugin(ContainerAccessor containerAccessor) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
ContainerAccessor |
getContainerAccessor() |
URL |
getResource(String path) |
InputStream |
getResourceAsStream(String name) |
boolean |
isDeleteable() |
boolean |
isDynamicallyLoaded() |
boolean |
isUninstallable() |
<T> Class<T> |
loadClass(String clazz,
Class<?> callingClass) |
addDynamicModuleDescriptor, addModuleDescriptor, cleanVersionString, close, compareAndSetPluginState, compareTo, containsSystemModule, disable, disableInternal, enable, enableInternal, getActivePermissions, getDateEnabled, getDateEnabling, getDateInstalled, getDateLoaded, getDependencies, getDynamicModuleDescriptors, getI18nNameKey, getInstallationMode, getKey, getLog, getModuleDescriptor, getModuleDescriptors, getModuleDescriptorsByModuleClass, getName, getPluginArtifact, getPluginInformation, getPluginState, getPluginsVersion, getRequiredPlugins, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hasAllPermissions, install, installInternal, isBundledPlugin, isEnabledByDefault, isSystemPlugin, removeDynamicModuleDescriptor, removeModuleDescriptor, resolve, setBundledPlugin, setEnabledByDefault, setI18nNameKey, setKey, setName, setPluginInformation, setPluginState, setPluginsVersion, setResources, setSystemPlugin, toString, uninstall, uninstallInternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddModuleDescriptor, containsSystemModule, disable, enable, getActivePermissions, getDateEnabled, getDateEnabling, getDateInstalled, getDateLoaded, getDependencies, getI18nNameKey, getInstallationMode, getKey, getModuleDescriptor, getModuleDescriptors, getModuleDescriptorsByModuleClass, getName, getPluginArtifact, getPluginInformation, getPluginState, getPluginsVersion, hasAllPermissions, install, isBundledPlugin, isEnabledByDefault, isSystemPlugin, resolve, setEnabledByDefault, setI18nNameKey, setKey, setName, setPluginInformation, setPluginsVersion, setResources, setSystemPlugin, uninstallgetScopeKeygetResourceDescriptor, getResourceDescriptors, getResourceLocationcompareTopublic MockContainerManagedPlugin(ContainerAccessor containerAccessor)
public ContainerAccessor getContainerAccessor()
getContainerAccessor in interface ContainerManagedPluginpublic boolean isUninstallable()
isUninstallable in interface Pluginpublic boolean isDeleteable()
isDeleteable in interface Pluginpublic boolean isDynamicallyLoaded()
isDynamicallyLoaded in interface Pluginpublic <T> Class<T> loadClass(String clazz, Class<?> callingClass) throws ClassNotFoundException
loadClass in interface PluginClassNotFoundExceptionpublic ClassLoader getClassLoader()
getClassLoader in interface Pluginpublic URL getResource(String path)
getResource in interface Pluginpublic InputStream getResourceAsStream(String name)
getResourceAsStream in interface PluginCopyright © 2019 Atlassian. All rights reserved.