Class AbstractExpression
java.lang.Object
com.inductiveautomation.ignition.common.expressions.AbstractExpression
- All Implemented Interfaces:
- Expression
- Direct Known Subclasses:
- AbstractAlertExpressionContext.AlertVariableExpression,- ArithmeticExpression,- BitwiseExpression,- BitwiseNot,- BoundPropertyExpression,- BoundPropertyExpression,- BoundTagExpression,- BoundVariableExpression,- ComparisonExpression,- EqualityExpression,- FunctionExpression,- LikeExpression,- LogicalExpression,- NonLocalizedToStringExpression,- NotExpression,- PropertyBasedExpressionParseContext.PropertyReferenceExpression,- SubscriptExpression,- TagPathReadExpression,- TagReferenceBinder.SubscribedTagExpression,- TagReferenceBinder.TagReadExpression,- ToStringExpression,- UMinusExpression
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Expression[]protected CommonContextprotected InteractionListener
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconnect(CommonContext context, InteractionListener updateListener) Gives the expression a chance to connect itself to things, if necessary.voidTells the expression to disconnect from anything it was connected to.The children (if any) that this expression is dependent on for its executionvoidsetChildren(Expression[] expressions) voidshutdown()Tells the expression to shutdown any polling operations.voidstartup()Tells the expression to startup any polling operations.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.common.expressions.Expressionexecute, getOpName, getType
- 
Field Details- 
children
- 
context
- 
updateListener
 
- 
- 
Constructor Details- 
AbstractExpressionpublic AbstractExpression()
 
- 
- 
Method Details- 
getChildrenDescription copied from interface:ExpressionThe children (if any) that this expression is dependent on for its execution- Specified by:
- getChildrenin interface- Expression
 
- 
setChildren
- 
connectDescription copied from interface:ExpressionGives 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.- Specified by:
- connectin interface- Expression
 
- 
disconnectpublic void disconnect()Description copied from interface:ExpressionTells the expression to disconnect from anything it was connected to.- Specified by:
- disconnectin interface- Expression
 
- 
shutdownpublic void shutdown()Description copied from interface:ExpressionTells the expression to shutdown any polling operations.- Specified by:
- shutdownin interface- Expression
 
- 
startuppublic void startup()Description copied from interface:ExpressionTells the expression to startup any polling operations. Expressions that use this can remember the updateListener from connect() to feed update notification to.- Specified by:
- startupin interface- Expression
 
 
-