Class MockPlugin

  • All Implemented Interfaces:
    com.atlassian.plugin.Plugin, com.atlassian.plugin.PluginInternal, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, Comparable<com.atlassian.plugin.Plugin>

    public class MockPlugin
    extends com.atlassian.plugin.impl.AbstractPlugin
    Mock Plugin.
    Since:
    v3.3
    • Field Summary

      • Fields inherited from class com.atlassian.plugin.impl.AbstractPlugin

        pluginArtifact
      • Fields inherited from interface com.atlassian.plugin.Plugin

        VERSION_1, VERSION_2, VERSION_3
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ClassLoader getClassLoader()  
      URL getResource​(String path)  
      InputStream getResourceAsStream​(String name)  
      boolean isDeleteable()  
      boolean isDynamicallyLoaded()  
      boolean isUninstallable()  
      <T> Class<T> loadClass​(String clazz, Class<?> callingClass)  
      • Methods inherited from class com.atlassian.plugin.impl.AbstractPlugin

        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, uninstallInternal