APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.jpackage.internal

pack-priv final Class LinuxRpmPackager

extends LinuxPackager<LinuxRpmPackage>
Class Inheritance
Static Imports
java.util.stream.Collectors.joining

There are two command line options to configure license information for RPM packaging: --linux-rpm-license-type and --license-file. Value of --linux-rpm-license-type command line option configures "License:" section of RPM spec. Value of --license-file command line option specifies a license file to be added to the package. License file is a sort of documentation file but it will be installed even if user selects an option to install the package without documentation. --linux-rpm-license-type is the primary option to set license information. --license-file makes little sense in case of RPM packaging.

Field Summary

Modifier and TypeField and Description
private final LinuxRpmSystemEnvironment
Inherited from jdk.jpackage.internal.LinuxPackager:
envoutputDirpkg

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
protected Map<String, String>
protected List<? extends Exception>
protected void
private Path
private Path
Inherited from jdk.jpackage.internal.LinuxPackager:
acceptoutputPackageFile

Field Detail

sysEnvback to summary
private final LinuxRpmSystemEnvironment sysEnv

Constructor Detail

LinuxRpmPackagerback to summary
pack-priv LinuxRpmPackager(BuildEnv env, LinuxRpmPackage pkg, Path outputDir, LinuxRpmSystemEnvironment sysEnv)

Method Detail

buildPackageback to summary
protected void buildPackage() throws IOException

Implements abstract jdk.jpackage.internal.LinuxPackager.buildPackage.

Annotations
@Override
createConfigFilesback to summary
protected void createConfigFiles(Map<String, String> replacementData) throws IOException

Implements abstract jdk.jpackage.internal.LinuxPackager.createConfigFiles.

Annotations
@Override
createReplacementDataback to summary
protected Map<String, String> createReplacementData()

Implements abstract jdk.jpackage.internal.LinuxPackager.createReplacementData.

Annotations
@Override
findErrorsInOutputPackageback to summary
protected List<? extends Exception> findErrorsInOutputPackage() throws IOException

Implements abstract jdk.jpackage.internal.LinuxPackager.findErrorsInOutputPackage.

Annotations
@Override
initLibProvidersLookupback to summary
protected void initLibProvidersLookup(LibProvidersLookup libProvidersLookup)

Implements abstract jdk.jpackage.internal.LinuxPackager.initLibProvidersLookup.

Annotations
@Override
installPrefixback to summary
private Path installPrefix()
specFileback to summary
private Path specFile()