Record Class ExpressionValueComponentOptions

java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.gui.expression.expressionvalue.ExpressionValueComponentOptions

public record ExpressionValueComponentOptions(FunctionFactory functionFactory, List<Validator<ExpressionValue>> validators, ValidationIndicator validationIndicator, boolean includeNoExpressionButton, boolean useDebouncer, boolean isAsynchronous) extends Record
  • Constructor Details

    • ExpressionValueComponentOptions

      public ExpressionValueComponentOptions(FunctionFactory functionFactory, List<Validator<ExpressionValue>> validators, ValidationIndicator validationIndicator, boolean includeNoExpressionButton, boolean useDebouncer, boolean isAsynchronous)
      Creates an instance of a ExpressionValueComponentOptions record class.
      Parameters:
      functionFactory - the value for the functionFactory record component
      validators - the value for the validators record component
      validationIndicator - the value for the validationIndicator record component
      includeNoExpressionButton - the value for the includeNoExpressionButton record component
      useDebouncer - the value for the useDebouncer record component
      isAsynchronous - the value for the isAsynchronous record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • functionFactory

      public FunctionFactory functionFactory()
      Returns the value of the functionFactory record component.
      Returns:
      the value of the functionFactory record component
    • validators

      public List<Validator<ExpressionValue>> validators()
      Returns the value of the validators record component.
      Returns:
      the value of the validators record component
    • validationIndicator

      public ValidationIndicator validationIndicator()
      Returns the value of the validationIndicator record component.
      Returns:
      the value of the validationIndicator record component
    • includeNoExpressionButton

      public boolean includeNoExpressionButton()
      Returns the value of the includeNoExpressionButton record component.
      Returns:
      the value of the includeNoExpressionButton record component
    • useDebouncer

      public boolean useDebouncer()
      Returns the value of the useDebouncer record component.
      Returns:
      the value of the useDebouncer record component
    • isAsynchronous

      public boolean isAsynchronous()
      Returns the value of the isAsynchronous record component.
      Returns:
      the value of the isAsynchronous record component