|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.plugin.impl.AbstractPlugin
com.atlassian.bamboo.mock.plugins.MockPlugin
public class MockPlugin
Mock Plugin
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.plugin.Plugin |
---|
com.atlassian.plugin.Plugin.EnabledMetricsSource, com.atlassian.plugin.Plugin.Resolvable |
Nested classes/interfaces inherited from interface com.atlassian.plugin.Plugin.EnabledMetricsSource |
---|
com.atlassian.plugin.Plugin.EnabledMetricsSource.Default |
Field Summary |
---|
Fields inherited from interface com.atlassian.plugin.Plugin |
---|
NAME_COMPARATOR, VERSION_1, VERSION_2, VERSION_3 |
Constructor Summary | |
---|---|
MockPlugin(String key)
|
|
MockPlugin(String key,
ClassLoader classLoader)
|
Method Summary | ||
---|---|---|
ClassLoader |
getClassLoader()
|
|
URL |
getResource(String path)
|
|
InputStream |
getResourceAsStream(String name)
|
|
boolean |
isDeleteable()
|
|
boolean |
isDynamicallyLoaded()
|
|
boolean |
isUninstallable()
|
|
|
loadClass(String clazz,
Class<?> callingClass)
|
Methods inherited from class com.atlassian.plugin.impl.AbstractPlugin |
---|
addModuleDescriptor, close, compareAndSetPluginState, compareTo, containsSystemModule, disable, disableInternal, enable, enableInternal, getActivePermissions, getDateEnabled, getDateEnabling, 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, uninstallInternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MockPlugin(String key)
public MockPlugin(String key, ClassLoader classLoader)
Method Detail |
---|
public boolean isUninstallable()
public boolean isDeleteable()
public boolean isDynamicallyLoaded()
public <T> Class<T> loadClass(String clazz, Class<?> callingClass) throws ClassNotFoundException
ClassNotFoundException
public ClassLoader getClassLoader()
public URL getResource(String path)
public InputStream getResourceAsStream(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |