Interface LinuxPackageMixin
- All Known Subinterfaces:
LinuxDebPackage,LinuxPackage,LinuxRpmPackage
- All Known Implementing Classes:
LinuxPackageMixin.Stub
public interface LinuxPackageMixin
Details of Linux package.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordDefault implementation ofLinuxPackageMixininterface. -
Method Summary
Modifier and TypeMethodDescriptionGets a string with the additional dependencies of this package.arch()Gets the platform architecture of this package.category()Gets the category of this package.Gets the name of the start menu group where to create shortcuts for application launchers of this package.release()Gets the release of this package.
-
Method Details
-
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
-
release
Gets the release of this package. Returns an emptyOptionalinstance 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_revisioncomponent 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