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

pack-priv abstract Class ShellCustomAction

extends Object
Class Inheritance
Known Direct Subclasses
jdk.jpackage.internal.UnixLaunchersAsServices, jdk.jpackage.internal.DesktopIntegration
Imports
java.io.BufferedReader, .IOException, .InputStream, .InputStreamReader, java.nio.charset.StandardCharsets, java.util.Arrays, .Collections, .HashMap, .List, .Map, .Objects, java.util.stream.Collectors, jdk.jpackage.internal.resources.ResourceLocator

Interface to add custom actions composed of shell commands to installers.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv final Map<String, String>
protected abstract Map<String, String>
pack-priv static void
pack-priv static ShellCustomAction
nop(List<String> replacementStringIds)

protected List<String>
pack-priv List<String>
protected static String
protected static String
protected static String
stringifyTextFile(String resourceName)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ShellCustomActionback to summary
pack-priv ShellCustomAction()

Method Detail

createback to summary
pack-priv final Map<String, String> create() throws IOException
createImplback to summary
protected abstract Map<String, String> createImpl() throws IOException
mergeReplacementDataback to summary
pack-priv static void mergeReplacementData(Map<String, String> target, Map<String, String> newValues)
nopback to summary
pack-priv static ShellCustomAction nop(List<String> replacementStringIds)
replacementStringIdsback to summary
protected List<String> replacementStringIds()
requiredPackagesback to summary
pack-priv List<String> requiredPackages()
stringifyShellCommandsback to summary
protected static String stringifyShellCommands(String... commands)
stringifyShellCommandsback to summary
protected static String stringifyShellCommands(List<String> commands)
stringifyTextFileback to summary
protected static String stringifyTextFile(String resourceName) throws IOException