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

pack-priv final Class RuntimeBuilderBuilder

extends Object
Class Inheritance
Static Imports
jdk.jpackage.internal.model.RuntimeBuilder.getDefaultModulePath

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static record
private static record
pack-priv class

Field Summary

Modifier and TypeField and Description
private Supplier<RuntimeBuilder>
private List<Path>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv RuntimeBuilder
private static RuntimeBuilder
createCopyingRuntimeBuilder(Path runtimeDir, Path... modulePath)

pack-priv RuntimeBuilderBuilder.RuntimeBuilderConfigBuilder
pack-priv RuntimeBuilderBuilder
forRuntime(Path predefinedRuntimeImage)

pack-priv RuntimeBuilderBuilder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

implback to summary
private Supplier<RuntimeBuilder> impl
modulePathback to summary
private List<Path> modulePath

Constructor Detail

RuntimeBuilderBuilderback to summary
pack-priv RuntimeBuilderBuilder()

Method Detail

createback to summary
pack-priv RuntimeBuilder create()
createCopyingRuntimeBuilderback to summary
private static RuntimeBuilder createCopyingRuntimeBuilder(Path runtimeDir, Path... modulePath)
forNewRuntimeback to summary
pack-priv RuntimeBuilderBuilder.RuntimeBuilderConfigBuilder forNewRuntime(List<LauncherStartupInfo> startupInfos)
forRuntimeback to summary
pack-priv RuntimeBuilderBuilder forRuntime(Path predefinedRuntimeImage)
modulePathback to summary
pack-priv RuntimeBuilderBuilder modulePath(List<Path> v)
jdk.jpackage.internal back to summary

private final Record RuntimeBuilderBuilder.BuildingRuntime

extends Record
implements Supplier<RuntimeBuilder>
Class Inheritance
All Implemented Interfaces
java.util.function.Supplier
Record Components
thiz:RuntimeBuilderBuilder 
addModules:Set<String> 
limitModules:Set<String> 
options:List<String> 
startupInfos:List<LauncherStartupInfo> 

Field Summary

Modifier and TypeField and Description
private final Set<String>
addModules

Record Component accessed by addModules().

private final Set<String>
limitModules

Record Component accessed by limitModules().

private final List<String>
options

Record Component accessed by options().

private final List<LauncherStartupInfo>
startupInfos

Record Component accessed by startupInfos().

private final RuntimeBuilderBuilder
thiz

Record Component accessed by thiz().

Constructor Summary

AccessConstructor and Description
private
BuildingRuntime(RuntimeBuilderBuilder thiz, Set<String> addModules, Set<String> limitModules, List<String> options, List<LauncherStartupInfo> startupInfos)

Method Summary

Modifier and TypeMethod and Description
public Set<String>
addModules()

Record Component getter of addModules.

public final boolean
equals(Object o)

Implements abstract java.lang.Record.equals.

Indicates whether some other object is "equal to" this one.

public RuntimeBuilder
get()

Implements java.util.function.Supplier.get.

Gets a result.

public final int
hashCode()

Implements abstract java.lang.Record.hashCode.

Returns a hash code value for the record.

public Set<String>
limitModules()

Record Component getter of limitModules.

public List<String>
options()

Record Component getter of options.

public List<LauncherStartupInfo>
startupInfos()

Record Component getter of startupInfos.

public RuntimeBuilderBuilder
thiz()

Record Component getter of thiz.

public final String
toString()

Implements abstract java.lang.Record.toString.

Returns a string representation of the record.

Field Detail

addModulesback to summary
private final Set<String> addModules

Record Component accessed by addModules().

limitModulesback to summary
private final Set<String> limitModules

Record Component accessed by limitModules().

optionsback to summary
private final List<String> options

Record Component accessed by options().

startupInfosback to summary
private final List<LauncherStartupInfo> startupInfos

Record Component accessed by startupInfos().

thizback to summary
private final RuntimeBuilderBuilder thiz

Record Component accessed by thiz().

Constructor Detail

BuildingRuntimeback to summary
private BuildingRuntime(RuntimeBuilderBuilder thiz, Set<String> addModules, Set<String> limitModules, List<String> options, List<LauncherStartupInfo> startupInfos)

Method Detail

addModulesback to summary
public Set<String> addModules()

Record Component getter of addModules.

equalsback to summary
public final boolean equals(Object o)

Implements abstract java.lang.Record.equals.

Doc from java.lang.Record.equals.

Indicates whether some other object is "equal to" this one. In addition to the general contract of Object.equals, record classes must further obey the invariant that when a record instance is "copied" by passing the result of the record component accessor methods to the canonical constructor, as follows:

    R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
getback to summary
public RuntimeBuilder get()

Implements java.util.function.Supplier.get.

Doc from java.util.function.Supplier.get.

Gets a result.

Annotations
@Override
hashCodeback to summary
public final int hashCode()

Implements abstract java.lang.Record.hashCode.

Doc from java.lang.Record.hashCode.

Returns a hash code value for the record. Obeys the general contract of Object.hashCode. For records, hashing behavior is constrained by the refined contract of Record.equals, so that any two records created from the same components must have the same hash code.

limitModulesback to summary
public Set<String> limitModules()

Record Component getter of limitModules.

optionsback to summary
public List<String> options()

Record Component getter of options.

startupInfosback to summary
public List<LauncherStartupInfo> startupInfos()

Record Component getter of startupInfos.

thizback to summary
public RuntimeBuilderBuilder thiz()

Record Component getter of thiz.

toStringback to summary
public final String toString()

Implements abstract java.lang.Record.toString.

Doc from java.lang.Record.toString.

Returns a string representation of the record. In accordance with the general contract of Object#toString(), the toString method returns a string that "textually represents" this record. The result should be a concise but informative representation that is easy for a person to read.

In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.

jdk.jpackage.internal back to summary

private final Record RuntimeBuilderBuilder.CopyingRuntime

extends Record
implements Supplier<RuntimeBuilder>
Class Inheritance
All Implemented Interfaces
java.util.function.Supplier
Record Components
thiz:RuntimeBuilderBuilder 
predefinedRuntimeImage:Path 

Field Summary

Modifier and TypeField and Description
private final Path
predefinedRuntimeImage

Record Component accessed by predefinedRuntimeImage().

private final RuntimeBuilderBuilder
thiz

Record Component accessed by thiz().

Constructor Summary

AccessConstructor and Description
private
CopyingRuntime(RuntimeBuilderBuilder thiz, Path predefinedRuntimeImage)

Method Summary

Modifier and TypeMethod and Description
public final boolean
equals(Object o)

Implements abstract java.lang.Record.equals.

Indicates whether some other object is "equal to" this one.

public RuntimeBuilder
get()

Implements java.util.function.Supplier.get.

Gets a result.

public final int
hashCode()

Implements abstract java.lang.Record.hashCode.

Returns a hash code value for the record.

public Path
predefinedRuntimeImage()

Record Component getter of predefinedRuntimeImage.

public RuntimeBuilderBuilder
thiz()

Record Component getter of thiz.

public final String
toString()

Implements abstract java.lang.Record.toString.

Returns a string representation of the record.

Field Detail

predefinedRuntimeImageback to summary
private final Path predefinedRuntimeImage

Record Component accessed by predefinedRuntimeImage().

thizback to summary
private final RuntimeBuilderBuilder thiz

Record Component accessed by thiz().

Constructor Detail

CopyingRuntimeback to summary
private CopyingRuntime(RuntimeBuilderBuilder thiz, Path predefinedRuntimeImage)

Method Detail

equalsback to summary
public final boolean equals(Object o)

Implements abstract java.lang.Record.equals.

Doc from java.lang.Record.equals.

Indicates whether some other object is "equal to" this one. In addition to the general contract of Object.equals, record classes must further obey the invariant that when a record instance is "copied" by passing the result of the record component accessor methods to the canonical constructor, as follows:

    R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
getback to summary
public RuntimeBuilder get()

Implements java.util.function.Supplier.get.

Doc from java.util.function.Supplier.get.

Gets a result.

Annotations
@Override
hashCodeback to summary
public final int hashCode()

Implements abstract java.lang.Record.hashCode.

Doc from java.lang.Record.hashCode.

Returns a hash code value for the record. Obeys the general contract of Object.hashCode. For records, hashing behavior is constrained by the refined contract of Record.equals, so that any two records created from the same components must have the same hash code.

predefinedRuntimeImageback to summary
public Path predefinedRuntimeImage()

Record Component getter of predefinedRuntimeImage.

thizback to summary
public RuntimeBuilderBuilder thiz()

Record Component getter of thiz.

toStringback to summary
public final String toString()

Implements abstract java.lang.Record.toString.

Doc from java.lang.Record.toString.

Returns a string representation of the record. In accordance with the general contract of Object#toString(), the toString method returns a string that "textually represents" this record. The result should be a concise but informative representation that is easy for a person to read.

In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.

jdk.jpackage.internal back to summary

pack-priv final Class RuntimeBuilderBuilder.RuntimeBuilderConfigBuilder

extends Object
Class Inheritance
  • java.lang.Object
  • jdk.jpackage.internal.RuntimeBuilderBuilder.RuntimeBuilderConfigBuilder

Field Summary

Modifier and TypeField and Description
private Set<String>
private Set<String>
private List<String>
private final List<LauncherStartupInfo>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv RuntimeBuilderBuilder.RuntimeBuilderConfigBuilder
pack-priv RuntimeBuilderBuilder
pack-priv RuntimeBuilderBuilder.RuntimeBuilderConfigBuilder
pack-priv RuntimeBuilderBuilder.RuntimeBuilderConfigBuilder
private List<String>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

addModulesback to summary
private Set<String> addModules
limitModulesback to summary
private Set<String> limitModules
optionsback to summary
private List<String> options
startupInfosback to summary
private final List<LauncherStartupInfo> startupInfos

Constructor Detail

RuntimeBuilderConfigBuilderback to summary
pack-priv RuntimeBuilderConfigBuilder(List<LauncherStartupInfo> startupInfos)

Method Detail

addModulesback to summary
pack-priv RuntimeBuilderBuilder.RuntimeBuilderConfigBuilder addModules(Set<String> v)
applyback to summary
pack-priv RuntimeBuilderBuilder apply()
limitModulesback to summary
pack-priv RuntimeBuilderBuilder.RuntimeBuilderConfigBuilder limitModules(Set<String> v)
optionsback to summary
pack-priv RuntimeBuilderBuilder.RuntimeBuilderConfigBuilder options(List<String> v)
validatedOptionsback to summary
private List<String> validatedOptions()