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 aKeyHashRulerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecaseInsensitiverecord component.static KeyHashRulefinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theignorePunctrecord component.booleanReturns the value of theignoreTagsrecord component.booleanignoreWS()Returns the value of theignoreWSrecord component.booleanfinal StringtoString()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 aKeyHashRulerecord class.- Parameters:
caseInsensitive- the value for thecaseInsensitiverecord componentignoreWS- the value for theignoreWSrecord componentignorePunct- the value for theignorePunctrecord componentignoreTags- the value for theignoreTagsrecord 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 thecaseInsensitiverecord component.- Returns:
- the value of the
caseInsensitiverecord component
-
ignoreWS
public boolean ignoreWS()Returns the value of theignoreWSrecord component.- Returns:
- the value of the
ignoreWSrecord component
-
ignorePunct
public boolean ignorePunct()Returns the value of theignorePunctrecord component.- Returns:
- the value of the
ignorePunctrecord component
-
ignoreTags
public boolean ignoreTags()Returns the value of theignoreTagsrecord component.- Returns:
- the value of the
ignoreTagsrecord component
-