Record Class LauncherStartupInfo.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.LauncherStartupInfo.Stub
- All Implemented Interfaces:
LauncherStartupInfo
- Enclosing interface:
LauncherStartupInfo
public static record LauncherStartupInfo.Stub(String qualifiedClassName, List<String> javaOptions, List<String> defaultParameters, List<Path> classPath)
extends Record
implements LauncherStartupInfo
Default implementation of
LauncherStartupInfo interface.-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.LauncherStartupInfo
LauncherStartupInfo.Stub -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassPathrecord component.Returns the value of thedefaultParametersrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thejavaOptionsrecord component.Returns the value of thequalifiedClassNamerecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jdk.jpackage.internal.model.LauncherStartupInfo
packageName, simpleClassName
-
Constructor Details
-
Stub
public Stub(String qualifiedClassName, List<String> javaOptions, List<String> defaultParameters, List<Path> classPath) Creates an instance of aStubrecord class.- Parameters:
qualifiedClassName- the value for thequalifiedClassNamerecord componentjavaOptions- the value for thejavaOptionsrecord componentdefaultParameters- the value for thedefaultParametersrecord componentclassPath- the value for theclassPathrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
qualifiedClassName
Returns the value of thequalifiedClassNamerecord component.- Specified by:
qualifiedClassNamein interfaceLauncherStartupInfo- Returns:
- the value of the
qualifiedClassNamerecord component
-
javaOptions
Returns the value of thejavaOptionsrecord component.- Specified by:
javaOptionsin interfaceLauncherStartupInfo- Returns:
- the value of the
javaOptionsrecord component
-
defaultParameters
Returns the value of thedefaultParametersrecord component.- Specified by:
defaultParametersin interfaceLauncherStartupInfo- Returns:
- the value of the
defaultParametersrecord component
-
classPath
Returns the value of theclassPathrecord component.- Specified by:
classPathin interfaceLauncherStartupInfo- Returns:
- the value of the
classPathrecord component
-