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

public final Enum StandardPackageType

extends Enum<StandardPackageType>
implements PackageType
Class Inheritance
All Implemented Interfaces
jdk.jpackage.internal.model.PackageType, jdk.jpackage.internal.model.BundleType
Imports
java.util.Objects

Standard native package types.

Field Summary

Modifier and TypeField and Description
private final String
public static final StandardPackageType
public static final StandardPackageType
public static final StandardPackageType
public static final StandardPackageType
private final String
public static final StandardPackageType
public static final StandardPackageType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
label()

Implements jdk.jpackage.internal.model.BundleType.label.

Returns a user-facing label of this bundle type.

public String

Returns:

file extension corresponding to the package type; the value starts with the period (.) character.
suffix
()

Gets file extension corresponding to the package type.

public static StandardPackageType
public static StandardPackageType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

keyback to summary
private final String key
LINUX_DEBback to summary
public static final StandardPackageType LINUX_DEB
LINUX_RPMback to summary
public static final StandardPackageType LINUX_RPM
MAC_DMGback to summary
public static final StandardPackageType MAC_DMG
MAC_PKGback to summary
public static final StandardPackageType MAC_PKG
suffixback to summary
private final String suffix
WIN_EXEback to summary
public static final StandardPackageType WIN_EXE
WIN_MSIback to summary
public static final StandardPackageType WIN_MSI

Constructor Detail

StandardPackageTypeback to summary
private StandardPackageType(String key, String suffix)

Method Detail

labelback to summary
public String label()

Implements jdk.jpackage.internal.model.BundleType.label.

Doc from jdk.jpackage.internal.model.BundleType.label.

Returns a user-facing label of this bundle type.

Annotations
@Override
suffixback to summary
public String suffix()

Gets file extension corresponding to the package type. E.g.: .msi, .dmg, .deb.

Returns:String

file extension corresponding to the package type; the value starts with the period (.) character.

valueOfback to summary
public static StandardPackageType valueOf(String name)
valuesback to summary
public static StandardPackageType[] values()