Class MockPlugin
java.lang.Object
com.atlassian.plugin.impl.AbstractPlugin
com.atlassian.bamboo.mock.plugins.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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResource
(String path) getResourceAsStream
(String name) boolean
boolean
boolean
<T> Class<T>
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
-
Constructor Details
-
MockPlugin
-
MockPlugin
-
-
Method Details
-
isUninstallable
public boolean isUninstallable() -
isDeleteable
public boolean isDeleteable() -
isDynamicallyLoaded
public boolean isDynamicallyLoaded() -
loadClass
- Throws:
ClassNotFoundException
-
getClassLoader
-
getResource
-
getResourceAsStream
-