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 booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelicenseTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Stub
Creates an instance of aStubrecord class.- Parameters:
licenseType- the value for thelicenseTyperecord 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 thelicenseTyperecord component.- Specified by:
licenseTypein interfaceLinuxRpmPackageMixin- Returns:
- the value of the
licenseTyperecord component
-