public class MockContainerManagedPlugin extends AbstractPlugin implements ContainerManagedPlugin
NAME_COMPARATOR, VERSION_1, VERSION_2, VERSION_3| Constructor and Description |
|---|
MockContainerManagedPlugin(ContainerAccessor containerAccessor) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
ContainerAccessor |
getContainerAccessor() |
PluginArtifact |
getPluginArtifact() |
URL |
getResource(String path) |
InputStream |
getResourceAsStream(String name) |
boolean |
isDeleteable() |
boolean |
isDynamicallyLoaded() |
boolean |
isUninstallable() |
<T> Class<T> |
loadClass(String clazz,
Class<?> callingClass) |
addModuleDescriptor, close, compareAndSetPluginState, compareTo, containsSystemModule, disable, disableInternal, enable, enableInternal, getActivePermissions, getDateInstalled, getDateLoaded, getI18nNameKey, getInstallationMode, getKey, getLog, getModuleDescriptor, getModuleDescriptors, getModuleDescriptorsByModuleClass, getName, getPluginInformation, getPluginState, getPluginsVersion, getRequiredPlugins, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hasAllPermissions, install, installInternal, isBundledPlugin, isEnabled, isEnabledByDefault, isSystemPlugin, removeModuleDescriptor, setEnabled, setEnabledByDefault, setI18nNameKey, setKey, setName, setPluginInformation, setPluginState, setPluginsVersion, setResources, setSystemPlugin, toString, uninstall, uninstallInternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddModuleDescriptor, close, containsSystemModule, disable, enable, getActivePermissions, getDateInstalled, getDateLoaded, getI18nNameKey, getInstallationMode, getKey, getModuleDescriptor, getModuleDescriptors, getModuleDescriptorsByModuleClass, getName, getPluginInformation, getPluginState, getPluginsVersion, getRequiredPlugins, hasAllPermissions, install, isBundledPlugin, isEnabled, isEnabledByDefault, isSystemPlugin, setEnabled, setEnabledByDefault, setI18nNameKey, setKey, setName, setPluginInformation, setPluginsVersion, setResources, setSystemPlugin, uninstallgetResourceDescriptor, getResourceDescriptors, 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 Pluginpublic PluginArtifact getPluginArtifact()
getPluginArtifact in interface PluginArtifactBackedPluginCopyright © 2014 Atlassian. All rights reserved.