Record Class HardwareVerificationFeatureAPI.HardwareIdentifyData
java.lang.Object
java.lang.Record
pro.gravit.launcher.core.api.features.HardwareVerificationFeatureAPI.HardwareIdentifyData
- Enclosing interface:
HardwareVerificationFeatureAPI
-
Constructor Summary
ConstructorsConstructorDescriptionHardwareIdentifyData(String baseboardSerialNumber, String persistentStorageId, byte[] edid) Creates an instance of aHardwareIdentifyDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebaseboardSerialNumberrecord component.byte[]edid()Returns the value of theedidrecord 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 thepersistentStorageIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HardwareIdentifyData
Creates an instance of aHardwareIdentifyDatarecord class.- Parameters:
baseboardSerialNumber- the value for thebaseboardSerialNumberrecord componentpersistentStorageId- the value for thepersistentStorageIdrecord componentedid- the value for theedidrecord 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). -
baseboardSerialNumber
Returns the value of thebaseboardSerialNumberrecord component.- Returns:
- the value of the
baseboardSerialNumberrecord component
-
persistentStorageId
Returns the value of thepersistentStorageIdrecord component.- Returns:
- the value of the
persistentStorageIdrecord component
-
edid
public byte[] edid()Returns the value of theedidrecord component.- Returns:
- the value of the
edidrecord component
-