Class JaxRsFilterFactory
java.lang.Object
com.atlassian.plugin.osgi.internal.hook.rest.JaxRsFilterFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPredicate<org.osgi.framework.wiring.BundleCapability>getFilter(org.dom4j.Document pluginXml, boolean isInternalPlugin) Predicate<org.osgi.framework.wiring.BundleCapability>getFilter(org.osgi.framework.Bundle bundle) Checks if bundle defines `rest-migration` tag with 'rest-v2' element.
-
Field Details
-
INTERNAL_REST_V1_ACCESS_FEATURE_KEY
- See Also:
-
FILTER_REST_V1
-
FILTER_REST_V2
-
-
Constructor Details
-
JaxRsFilterFactory
-
-
Method Details
-
getFilter
public Predicate<org.osgi.framework.wiring.BundleCapability> getFilter(org.osgi.framework.Bundle bundle) Checks if bundle defines `rest-migration` tag with 'rest-v2' element. If at least one module is defined returned- Parameters:
bundle-- Returns:
-
getFilter
public Predicate<org.osgi.framework.wiring.BundleCapability> getFilter(org.dom4j.Document pluginXml, boolean isInternalPlugin)
-