Interface LinuxPackageMixin

All Known Subinterfaces:
LinuxDebPackage, LinuxPackage, LinuxRpmPackage
All Known Implementing Classes:
LinuxPackageMixin.Stub

public interface LinuxPackageMixin
Details of Linux package.
  • Method Details

    • category

      Optional<String> category()
      Gets the category of this package.

      For RPM packages this is the value of the optional "Group" property.

      For DEB packages this is the value of the mandatory "Section" property. The present list of recognized values.

      Returns:
      the category of this package
    • additionalDependencies

      Optional<String> additionalDependencies()
      Gets a string with the additional dependencies of this package. Returns an empty Optional instance if this package has no additional dependencies.
      Returns:
      a string with the additional dependencies of this package
    • release

      Optional<String> release()
      Gets the release of this package. Returns an empty Optional instance if this package doesn't have a release.

      For RPM packages, this is the value of the "Release" property in spec file. RPM packages always have a release.

      For DEB packages, this is an optional debian_revision component of a package version. See https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-version#.

      Returns:
      the release of this package
    • arch

      String arch()
      Gets the platform architecture of this package.
      Returns:
      the platform architecture of this package