Record Class LauncherJarStartupInfoMixin.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.LauncherJarStartupInfoMixin.Stub
- All Implemented Interfaces:
LauncherJarStartupInfoMixin
- Enclosing interface:
LauncherJarStartupInfoMixin
public static record LauncherJarStartupInfoMixin.Stub(Path jarPath, boolean isJarWithMainClass)
extends Record
implements LauncherJarStartupInfoMixin
Default implementation of
LauncherJarStartupInfoMixin interface.-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.LauncherJarStartupInfoMixin
LauncherJarStartupInfoMixin.Stub -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisJarWithMainClassrecord component.jarPath()Returns the value of thejarPathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Stub
Creates an instance of aStubrecord class.- Parameters:
jarPath- the value for thejarPathrecord componentisJarWithMainClass- the value for theisJarWithMainClassrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
jarPath
Returns the value of thejarPathrecord component.- Specified by:
jarPathin interfaceLauncherJarStartupInfoMixin- Returns:
- the value of the
jarPathrecord component
-
isJarWithMainClass
public boolean isJarWithMainClass()Returns the value of theisJarWithMainClassrecord component.- Specified by:
isJarWithMainClassin interfaceLauncherJarStartupInfoMixin- Returns:
- the value of the
isJarWithMainClassrecord component
-