Record Class IconManagerImpl.IconLibrary
java.lang.Object
java.lang.Record
com.inductiveautomation.perspective.gateway.assets.icons.IconManagerImpl.IconLibrary
- Enclosing class:
- IconManagerImpl
-
Constructor Summary
ConstructorsConstructorDescriptionIconLibrary(List<String> iconNames, String rawLibrary, String b64EncodedHash) Creates an instance of aIconLibraryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theb64EncodedHashrecord 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 theiconNamesrecord component.Returns the value of therawLibraryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IconLibrary
Creates an instance of aIconLibraryrecord class.- Parameters:
iconNames- the value for theiconNamesrecord componentrawLibrary- the value for therawLibraryrecord componentb64EncodedHash- the value for theb64EncodedHashrecord component
-
-
Method Details
-
iconNames
Returns the value of theiconNamesrecord component.- Returns:
- the value of the
iconNamesrecord component
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
rawLibrary
Returns the value of therawLibraryrecord component.- Returns:
- the value of the
rawLibraryrecord component
-
b64EncodedHash
Returns the value of theb64EncodedHashrecord component.- Returns:
- the value of the
b64EncodedHashrecord component
-