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 Summary
ConstructorsConstructorDescriptionExpressionValueComponentOptions(FunctionFactory functionFactory, List<Validator<ExpressionValue>> validators, ValidationIndicator validationIndicator, boolean includeNoExpressionButton, boolean useDebouncer, boolean isAsynchronous) Creates an instance of aExpressionValueComponentOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionFactoryrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theincludeNoExpressionButtonrecord component.booleanReturns the value of theisAsynchronousrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theuseDebouncerrecord component.Returns the value of thevalidationIndicatorrecord component.Returns the value of thevalidatorsrecord component.
-
Constructor Details
-
ExpressionValueComponentOptions
public ExpressionValueComponentOptions(FunctionFactory functionFactory, List<Validator<ExpressionValue>> validators, ValidationIndicator validationIndicator, boolean includeNoExpressionButton, boolean useDebouncer, boolean isAsynchronous) Creates an instance of aExpressionValueComponentOptionsrecord class.- Parameters:
functionFactory- the value for thefunctionFactoryrecord componentvalidators- the value for thevalidatorsrecord componentvalidationIndicator- the value for thevalidationIndicatorrecord componentincludeNoExpressionButton- the value for theincludeNoExpressionButtonrecord componentuseDebouncer- the value for theuseDebouncerrecord componentisAsynchronous- the value for theisAsynchronousrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
functionFactory
Returns the value of thefunctionFactoryrecord component.- Returns:
- the value of the
functionFactoryrecord component
-
validators
Returns the value of thevalidatorsrecord component.- Returns:
- the value of the
validatorsrecord component
-
validationIndicator
Returns the value of thevalidationIndicatorrecord component.- Returns:
- the value of the
validationIndicatorrecord component
-
includeNoExpressionButton
public boolean includeNoExpressionButton()Returns the value of theincludeNoExpressionButtonrecord component.- Returns:
- the value of the
includeNoExpressionButtonrecord component
-
useDebouncer
public boolean useDebouncer()Returns the value of theuseDebouncerrecord component.- Returns:
- the value of the
useDebouncerrecord component
-
isAsynchronous
public boolean isAsynchronous()Returns the value of theisAsynchronousrecord component.- Returns:
- the value of the
isAsynchronousrecord component
-