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 record
Default implementation ofLinuxPackageMixin
interface. -
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.OverridesPackage.packageLayout()
.release()
Gets the release of this package.
-
Method Details
-
packageLayout
AppImageLayout packageLayout()OverridesPackage.packageLayout()
. -
category
-
additionalDependencies
-
release
Gets the release of this package. Returns an emptyOptional
instance if this package doesn't have a release.For RPM packages, this is the value of a "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
-