Interface Expression
- 
- All Known Implementing Classes:
- AbstractAlertExpressionContext.AlertVariableExpression,- AbstractExpression,- AlarmEventPropertyExpression,- ArithmeticExpression,- BitwiseExpression,- BitwiseNot,- BoundPropertyExpression,- BoundPropertyExpression,- BoundTagExpression,- BoundVariableExpression,- ComparisonExpression,- ConstantExpression,- EqualityExpression,- FormattedExpression,- FunctionExpression,- LikeExpression,- LocaleAwareMessageParseContext.LocaleStringExpression,- LogicalExpression,- NonLocalizedToStringExpression,- NotExpression,- PropertyBasedExpressionParseContext.PropertyReferenceExpression,- SubscriptExpression,- TagPathReadExpression,- TagReferenceBinder.SubscribedTagExpression,- TagReferenceBinder.TagReadExpression,- ToStringExpression,- UMinusExpression
 
 public interface ExpressionAn expression is something that can be executed to compute a result. Each instance of expression is typically some node in what amounts to a parse tree. Many expressions such as operators and function calls have child expressions.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidconnect(CommonContext context, InteractionListener updateListener)Gives the expression a chance to connect itself to things, if necessary.voiddisconnect()Tells the expression to disconnect from anything it was connected to.QualifiedValueexecute()Compute and return the value of this expressionExpression[]getChildren()The children (if any) that this expression is dependent on for its executionjava.lang.StringgetOpName()Return a human-readable name for the operation that this expression performsdefault java.lang.Class<?>getType()Return the type that this expression will returnvoidshutdown()Tells the expression to shutdown any polling operations.voidstartup()Tells the expression to startup any polling operations.
 
- 
- 
- 
Method Detail- 
execute@Nonnull QualifiedValue execute() throws ExpressionException Compute and return the value of this expression- Throws:
- ExpressionException
 
 - 
getTypedefault java.lang.Class<?> getType() Return the type that this expression will return
 - 
getOpNamejava.lang.String getOpName() Return a human-readable name for the operation that this expression performs
 - 
getChildrenExpression[] getChildren() The children (if any) that this expression is dependent on for its execution
 - 
connectvoid connect(CommonContext context, InteractionListener updateListener) Gives the expression a chance to connect itself to things, if necessary. Most expressions do not have any connections. An expression should notify the updateListener if they change.
 - 
disconnectvoid disconnect() Tells the expression to disconnect from anything it was connected to.
 - 
startupvoid startup() Tells the expression to startup any polling operations. Expressions that use this can remember the updateListener from connect() to feed update notification to.
 - 
shutdownvoid shutdown() Tells the expression to shutdown any polling operations.
 
- 
 
-