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 theclassPath
record component.Returns the value of thedefaultParameters
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thejavaOptions
record component.Returns the value of thequalifiedClassName
record component.final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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 aStub
record class.- Parameters:
qualifiedClassName
- the value for thequalifiedClassName
record componentjavaOptions
- the value for thejavaOptions
record componentdefaultParameters
- the value for thedefaultParameters
record componentclassPath
- the value for theclassPath
record 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 thequalifiedClassName
record component.- Specified by:
qualifiedClassName
in interfaceLauncherStartupInfo
- Returns:
- the value of the
qualifiedClassName
record component
-
javaOptions
Returns the value of thejavaOptions
record component.- Specified by:
javaOptions
in interfaceLauncherStartupInfo
- Returns:
- the value of the
javaOptions
record component
-
defaultParameters
Returns the value of thedefaultParameters
record component.- Specified by:
defaultParameters
in interfaceLauncherStartupInfo
- Returns:
- the value of the
defaultParameters
record component
-
classPath
Returns the value of theclassPath
record component.- Specified by:
classPath
in interfaceLauncherStartupInfo
- Returns:
- the value of the
classPath
record component
-