Interface BundleInfo

  • All Superinterfaces:
    java.lang.Comparable<BundleInfo>

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

      • getBundle

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

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

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

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

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

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

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