APIdia Launch Partner
Top Description Methods
jdk.jpackage.internal.model

public Interface LinuxDebPackage

extends LinuxPackage, LinuxDebPackageMixin
Imports
java.nio.file.Path, java.util.Optional, jdk.jpackage.internal.util.CompositeProxy

Linux DEB package.

Use create method to create objects implementing this interface.

See Also
https://www.debian.org/doc/debian-policy/ch-binary.html#, https://linux.die.net/man/5/deb-control

Method Summary

Modifier and TypeMethod and Description
public static LinuxDebPackage

Returns:

the proxy dispatching calls to the given objects
create
(LinuxPackage
the Linux package
pkg
,
LinuxDebPackageMixin
DEB-specific details supplementing the Linux package
mixin
)

Constructs LinuxDebPackage instance from the given LinuxPackage and LinuxDebPackageMixin instances.

public default String

Returns:

the maintainer property of this DEB package
maintainer
()

Gets the value of the maintainer property of this DEB package.

public default Optional<Path>

Returns:

the relative path to the copyright file of this DEB package
relativeCopyrightFilePath
()

Gets the relative path to this DEB package's copyright file.

Inherited from jdk.jpackage.internal.model.LinuxDebPackageMixin:
maintainerEmail
Inherited from jdk.jpackage.internal.model.LinuxPackage:
appcreateisInstallDirInUsrTreepackageFileNameversionWithRelease

Method Detail

createback to summary
public static LinuxDebPackage create(LinuxPackage pkg, LinuxDebPackageMixin mixin)

Constructs LinuxDebPackage instance from the given LinuxPackage and LinuxDebPackageMixin instances.

Parameters
pkg:LinuxPackage

the Linux package

mixin:LinuxDebPackageMixin

DEB-specific details supplementing the Linux package

Returns:LinuxDebPackage

the proxy dispatching calls to the given objects

maintainerback to summary
public default String maintainer()

Gets the value of the maintainer property of this DEB package.

Returns:String

the maintainer property of this DEB package

See Also
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-maintainer
relativeCopyrightFilePathback to summary
public default Optional<Path> relativeCopyrightFilePath()

Gets the relative path to this DEB package's copyright file. Returns empty Optional instance if this DEB package has no copyright file.

Returns:Optional<Path>

the relative path to the copyright file of this DEB package