|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.plugin.impl.AbstractPlugin com.atlassian.bamboo.mock.plugins.MockPlugin
public class MockPlugin
Mock Plugin
.
Field Summary |
---|
Fields inherited from interface com.atlassian.plugin.Plugin |
---|
NAME_COMPARATOR |
Constructor Summary | |
---|---|
MockPlugin(java.lang.String key)
|
|
MockPlugin(java.lang.String key,
java.lang.ClassLoader classLoader)
|
Method Summary | ||
---|---|---|
java.lang.ClassLoader |
getClassLoader()
|
|
java.net.URL |
getResource(java.lang.String path)
|
|
java.io.InputStream |
getResourceAsStream(java.lang.String name)
|
|
boolean |
isDeleteable()
|
|
boolean |
isDynamicallyLoaded()
|
|
boolean |
isUninstallable()
|
|
|
loadClass(java.lang.String clazz,
java.lang.Class<?> callingClass)
|
Methods inherited from class com.atlassian.plugin.impl.AbstractPlugin |
---|
addModuleDescriptor, close, compareAndSetPluginState, compareTo, containsSystemModule, disable, disableInternal, enable, enableInternal, getDateLoaded, getI18nNameKey, getKey, getLog, getModuleDescriptor, getModuleDescriptors, getModuleDescriptorsByModuleClass, getName, getPluginInformation, getPluginState, getPluginsVersion, getRequiredPlugins, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, 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(java.lang.String key)
public MockPlugin(java.lang.String key, java.lang.ClassLoader classLoader)
Method Detail |
---|
public boolean isUninstallable()
public boolean isDeleteable()
public boolean isDynamicallyLoaded()
public <T> java.lang.Class<T> loadClass(java.lang.String clazz, java.lang.Class<?> callingClass) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.lang.ClassLoader getClassLoader()
public java.net.URL getResource(java.lang.String path)
public java.io.InputStream getResourceAsStream(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |