Interface BundleInfo

All Superinterfaces:
Comparable<BundleInfo>

@ProviderType public interface BundleInfo extends Comparable<BundleInfo>
Provides meta-information about an bundle in the system.
  • Method Details

    • getBundle

      @NotNull @NotNull org.osgi.framework.Bundle getBundle()
      Returns:
      OSGI bundle
    • getSymbolicName

      @NotNull @NotNull String getSymbolicName()
      Returns:
      Bundle symbolic name
    • getName

      @NotNull @NotNull String getName()
      Returns:
      Bundle name (fallback to symbolic name if no name default)
    • getVersion

      @NotNull @NotNull String getVersion()
      Returns:
      Version string
    • getState

      @NotNull @NotNull BundleState getState()
      Returns:
      Bundle state
    • getLastModified

      @Nullable @Nullable Date getLastModified()
      Returns:
      Last modified date
    • isFragment

      boolean isFragment()
      Returns:
      true if bundle is a fragment bundle