Class NonLocalizedToStringExpression
java.lang.Object
com.inductiveautomation.ignition.common.expressions.AbstractExpression
com.inductiveautomation.ignition.common.expressions.NonLocalizedToStringExpression
- All Implemented Interfaces:
Expression
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
children, context, updateListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull QualifiedValueexecute()Returns the query generated by this expression (quality always good).Return a human-readable name for the operation that this expression performs.Class<?>getType()Return the type that this expression will return.Methods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
connect, disconnect, getChildren, setChildren, shutdown, startup
-
Constructor Details
-
NonLocalizedToStringExpression
public NonLocalizedToStringExpression()
-
-
Method Details
-
execute
Returns the query generated by this expression (quality always good). In theory we could optimize this by not creating the string each time, only when something has changed, but it shouldn't be too big of a deal to do it like this.- Returns:
- the result of the expression evaluation as a
QualifiedValue - Throws:
ExpressionException- if an error occurs during execution
-
getOpName
Description copied from interface:ExpressionReturn a human-readable name for the operation that this expression performs.- Returns:
- the operation name
-
getType
Description copied from interface:ExpressionReturn the type that this expression will return.- Returns:
- the
Classof the value returned byExpression.execute()
-