Class JaxRsFilterFactory

java.lang.Object
com.atlassian.plugin.osgi.internal.hook.rest.JaxRsFilterFactory

public class JaxRsFilterFactory extends Object
  • Field Details

    • INTERNAL_REST_V1_ACCESS_FEATURE_KEY

      public static final String INTERNAL_REST_V1_ACCESS_FEATURE_KEY
      See Also:
    • FILTER_REST_V1

      public static final Predicate<org.osgi.framework.wiring.BundleCapability> FILTER_REST_V1
    • FILTER_REST_V2

      public static final Predicate<org.osgi.framework.wiring.BundleCapability> FILTER_REST_V2
  • Constructor Details

  • 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)