Record Class KeyHashRule
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.common.i18n.translation.KeyHashRule
public record KeyHashRule(boolean caseInsensitive, boolean ignoreWS, boolean ignorePunct, boolean ignoreTags)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKeyHashRule
(boolean caseInsensitive, boolean ignoreWS, boolean ignorePunct, boolean ignoreTags) Creates an instance of aKeyHashRule
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the value of thecaseInsensitive
record component.static KeyHashRule
final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theignorePunct
record component.boolean
Returns the value of theignoreTags
record component.boolean
ignoreWS()
Returns the value of theignoreWS
record component.boolean
final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
KeyHashRule
public KeyHashRule() -
KeyHashRule
public KeyHashRule(boolean caseInsensitive, boolean ignoreWS, boolean ignorePunct, boolean ignoreTags) Creates an instance of aKeyHashRule
record class.- Parameters:
caseInsensitive
- the value for thecaseInsensitive
record componentignoreWS
- the value for theignoreWS
record componentignorePunct
- the value for theignorePunct
record componentignoreTags
- the value for theignoreTags
record component
-
-
Method Details
-
createDefault
-
getKey
-
matches
-
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 with '=='. -
caseInsensitive
public boolean caseInsensitive()Returns the value of thecaseInsensitive
record component.- Returns:
- the value of the
caseInsensitive
record component
-
ignoreWS
public boolean ignoreWS()Returns the value of theignoreWS
record component.- Returns:
- the value of the
ignoreWS
record component
-
ignorePunct
public boolean ignorePunct()Returns the value of theignorePunct
record component.- Returns:
- the value of the
ignorePunct
record component
-
ignoreTags
public boolean ignoreTags()Returns the value of theignoreTags
record component.- Returns:
- the value of the
ignoreTags
record component
-