Record Class ThemeConfig
java.lang.Object
java.lang.Record
com.inductiveautomation.perspective.gateway.assets.themes.ThemeConfig
-
Constructor Summary
ConstructorsConstructorDescriptionThemeConfig(String entrypoint, boolean isPrivate) Creates an instance of aThemeConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentrypointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisPrivaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ThemeConfig
Creates an instance of aThemeConfigrecord class.- Parameters:
entrypoint- the value for theentrypointrecord componentisPrivate- the value for theisPrivaterecord 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. -
entrypoint
Returns the value of theentrypointrecord component.- Returns:
- the value of the
entrypointrecord component
-
isPrivate
public boolean isPrivate()Returns the value of theisPrivaterecord component.- Returns:
- the value of the
isPrivaterecord component
-