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

public Interface LinuxPackage

extends Package, LinuxPackageMixin
Known Direct Subinterfaces
jdk.jpackage.internal.model.LinuxRpmPackage, jdk.jpackage.internal.model.LinuxDebPackage
Imports
java.nio.file.Path, jdk.jpackage.internal.util.CompositeProxy

Linux package.

Use create method to create objects implementing this interface.

Method Summary

Modifier and TypeMethod and Description
public LinuxApplication
app()

Redeclares jdk.jpackage.internal.model.Package.app.

Gets the application of this package.

public static LinuxPackage

Returns:

the proxy dispatching calls to the given objects
create
(Package
the generic package
pkg
,
LinuxPackageMixin
Linux-specific details supplementing the Linux package
mixin
)

Constructs LinuxPackage instance from the given Package and LinuxPackageMixin instances.

public default boolean

Returns:

true in this Linux package installs in "/usr" tree
isInstallDirInUsrTree
()

Returns true in this Linux package installs in "/usr" tree.

public default String
packageFileName()

Overrides default jdk.jpackage.internal.model.Package.packageFileName.

Get the name without an extension of the package file of this package.

public default String

Returns:

the version with the release component of this Linux package
versionWithRelease
()

Gets the version with the release component of this Linux package.

Inherited from jdk.jpackage.internal.model.LinuxPackageMixin:
additionalDependenciesarchcategorymenuGroupNamerelease
Inherited from jdk.jpackage.internal.model.Package:
aboutURLappImageLayoutasApplicationLayoutasInstalledPackageApplicationLayoutasStandardPackageTypedescriptioninstalledPackageLayoutisRuntimeInstallerlicenseFilepackageFileNameWithSuffixpackageFileSuffixpackageNamepredefinedAppImagerelativeInstallDirtypeversion

Method Detail

appback to summary
public LinuxApplication app()

Redeclares jdk.jpackage.internal.model.Package.app.

Doc from jdk.jpackage.internal.model.Package.app.

Gets the application of this package.

createback to summary
public static LinuxPackage create(Package pkg, LinuxPackageMixin mixin)

Constructs LinuxPackage instance from the given Package and LinuxPackageMixin instances.

Parameters
pkg:Package

the generic package

mixin:LinuxPackageMixin

Linux-specific details supplementing the Linux package

Returns:LinuxPackage

the proxy dispatching calls to the given objects

isInstallDirInUsrTreeback to summary
public default boolean isInstallDirInUsrTree()

Returns true in this Linux package installs in "/usr" tree.

Returns:boolean

true in this Linux package installs in "/usr" tree

packageFileNameback to summary
public default String packageFileName()

Overrides default jdk.jpackage.internal.model.Package.packageFileName.

Doc from jdk.jpackage.internal.model.Package.packageFileName.

Get the name without an extension of the package file of this package.

Annotations
@Override
versionWithReleaseback to summary
public default String versionWithRelease()

Gets the version with the release component of this Linux package.

Returns:String

the version with the release component of this Linux package