Class BundleVersionInfo<T>

    • Constructor Detail

      • BundleVersionInfo

        public BundleVersionInfo()
    • Method Detail

      • getSource

        public abstract T getSource()
        Returns:
        Return the source of information: underlying File or Bundle
      • isBundle

        public abstract boolean isBundle()
        Returns:
        True if the provided data is a valid bundle
      • getBundleSymbolicName

        public abstract String getBundleSymbolicName()
        Returns:
        Return the bundle symbolic name, null if not available
      • getVersion

        public abstract Version getVersion()
        Returns:
        Return the bundle version, null if not available
      • isSnapshot

        public abstract boolean isSnapshot()
        Returns:
        True if the bundle version indicates a snapshot
      • getBundleLastModified

        public abstract long getBundleLastModified()
        Return the bundle last modification time, based on the BND_LAST_MODIFIED manifest header, if available. This is *not* the Bundle.getLastModified() value, which refers to actions in the OSGi framework.
        Returns:
        BND_LAST_MODIFIED_MISSING if header not supplied