Class PluginTypeDetector
java.lang.Object
com.atlassian.plugin.osgi.hook.dmz.PluginTypeDetector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPluginKeyOrSymbolicName(org.osgi.framework.Bundle bundle) Tried to use API: String pluginKey = OsgiHeaderUtil.getPluginKey(importingPlugin) but for some reason if OsgiPlugin.ATLASSIAN_PLUGIN_KEY is not available, util returns symbolic name with version, examples: org.eclipse.gemini.blueprint.core-3.0.0.M01 org.apache.servicemix.bundles.spring-core-5.3.26.1 Plugin key should not contain version.booleanisInternalPlugin(org.osgi.framework.Bundle bundle) booleanisSystemBundle(org.osgi.framework.Bundle bundle)
-
Constructor Details
-
PluginTypeDetector
- Since:
- 7.3
-
-
Method Details
-
isInternalPlugin
public boolean isInternalPlugin(org.osgi.framework.Bundle bundle) -
isSystemBundle
public boolean isSystemBundle(org.osgi.framework.Bundle bundle) -
getPluginKeyOrSymbolicName
Tried to use API: String pluginKey = OsgiHeaderUtil.getPluginKey(importingPlugin) but for some reason if OsgiPlugin.ATLASSIAN_PLUGIN_KEY is not available, util returns symbolic name with version, examples: org.eclipse.gemini.blueprint.core-3.0.0.M01 org.apache.servicemix.bundles.spring-core-5.3.26.1 Plugin key should not contain version.
-