|
||||||||||
| 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.plugin.MockPlugin
public class MockPlugin
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.plugin.Plugin |
|---|
NAME_COMPARATOR |
| Constructor Summary | |
|---|---|
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, 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(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
ClassNotFoundExceptionpublic 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 | |||||||||