Annotation Type BundleSource


@Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @Documented @ArgumentsSource(BundleArgumentsProvider.class) public @interface BundleSource
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Filter string used to target a bundle by filtering the Bundle-Headers Must use valid OSGi filter syntax.
    int
    Optional bit mask of the Bundle states used to filter Bundles.
    Optional SymbolicNameFilter used to filter Bundles by SymbolicName using regular expression pattern.
  • Element Details

    • symbolicNamePattern

      String[] symbolicNamePattern
      Optional SymbolicNameFilter used to filter Bundles by SymbolicName using regular expression pattern.
      Returns:
      The symbolicNamePattern Strings.
      Default:
      {}
    • stateMask

      int stateMask
      Optional bit mask of the Bundle states used to filter Bundles.
      Returns:
      The bit mask of the bundle state.
      Default:
      62
    • headerFilter

      String headerFilter
      Filter string used to target a bundle by filtering the Bundle-Headers Must use valid OSGi filter syntax.
      Returns:
      The filter string.
      Default:
      ""