Class ToStringExpression
java.lang.Object
com.inductiveautomation.ignition.common.expressions.AbstractExpression
com.inductiveautomation.ignition.common.expressions.ToStringExpression
- All Implemented Interfaces:
Expression
Simply concatenates all sub expressions into a single string value. Very similar to
NonLocalizedToStringExpression, but does not make any special adjustments to the value. Also,
unlike that expression type, this one uses the current locale as well.-
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()Compute and return the value of this expression.Return a human-readable name for the operation that this expression performs.Class<?>getType()Return the type that this expression will return.protected StringMethods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
connect, disconnect, getChildren, setChildren, shutdown, startup
-
Constructor Details
-
ToStringExpression
public ToStringExpression() -
ToStringExpression
-
-
Method Details
-
execute
Description copied from interface:ExpressionCompute and return the value of this expression.- Returns:
- the result of the expression evaluation as a
QualifiedValue - Throws:
ExpressionException- if an error occurs during execution
-
getType
Description copied from interface:ExpressionReturn the type that this expression will return.- Returns:
- the
Classof the value returned byExpression.execute()
-
getOpName
Description copied from interface:ExpressionReturn a human-readable name for the operation that this expression performs.- Returns:
- the operation name
-
objToStr
-