Record Class ExpressionValue
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.common.expressions.ExpressionValue
- Record Components:
data- String used when creating an expressiontype-ExpressionValue.Typeof the field
Represents a field that can be either a static string or standard expression. For fields that
support expressions, this eliminates the need for users to always quote static Strings.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionExpressionValue(String data, ExpressionValue.Type type) Creates an instance of aExpressionValuerecord class. -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.static ExpressionValueexpressionField(String data) static ExpressionValuefinal inthashCode()Returns a hash code value for this object.booleanisBlank()booleanstatic ExpressionValuestaticField(String data) com.inductiveautomation.ignition.common.gson.JsonObjecttoJson()final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
Method Details
-
fromJson
public static ExpressionValue fromJson(@Nullable com.inductiveautomation.ignition.common.gson.JsonElement json, String key) -
staticField
-
expressionField
-
isBlank
public boolean isBlank() -
isNotBlank
public boolean isNotBlank() -
toJson
public com.inductiveautomation.ignition.common.gson.JsonObject toJson() -
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. All components in this record class are compared withObjects::equals(Object,Object). -
data
-
type
-