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

public final Enum LauncherShortcutStartupDirectory

extends Enum<LauncherShortcutStartupDirectory>
Class Inheritance
Imports
java.util.Objects

The directory in which to run an application launcher when it is started from a shortcut.

Field Summary

Modifier and TypeField and Description
public static final LauncherShortcutStartupDirectory
APP_DIR

The 'app' directory in the installed application app image.

public static final LauncherShortcutStartupDirectory
DEFAULT

Platform-specific default value.

private final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
public static LauncherShortcutStartupDirectory
public static LauncherShortcutStartupDirectory[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

APP_DIRback to summary
public static final LauncherShortcutStartupDirectory APP_DIR

The 'app' directory in the installed application app image. This is the directory that is referenced with ApplicationLayout#appDirectory() method.

DEFAULTback to summary
public static final LauncherShortcutStartupDirectory DEFAULT

Platform-specific default value.

On Windows, it indicates that the startup directory should be the package's installation directory.

On Linux, it indicates that a shortcut doesn't have the startup directory configured explicitly.

stringValueback to summary
private final String stringValue

Constructor Detail

LauncherShortcutStartupDirectoryback to summary
private LauncherShortcutStartupDirectory(String stringValue)

Method Detail

asStringValueback to summary
public String asStringValue()
valueOfback to summary
public static LauncherShortcutStartupDirectory valueOf(String name)
valuesback to summary
public static LauncherShortcutStartupDirectory[] values()