Record Class LinuxRpmPackageMixin.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.LinuxRpmPackageMixin.Stub
- All Implemented Interfaces:
LinuxRpmPackageMixin
- Enclosing interface:
LinuxRpmPackageMixin
public static record LinuxRpmPackageMixin.Stub(String licenseType)
extends Record
implements LinuxRpmPackageMixin
Default implementation of
LinuxRpmPackageMixin
interface.-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.LinuxRpmPackageMixin
LinuxRpmPackageMixin.Stub
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal 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 thelicenseType
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Stub
Creates an instance of aStub
record class.- Parameters:
licenseType
- the value for thelicenseType
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)
. -
licenseType
Returns the value of thelicenseType
record component.- Specified by:
licenseType
in interfaceLinuxRpmPackageMixin
- Returns:
- the value of the
licenseType
record component
-