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

public abstract class AbstractExpression extends Object implements Expression
  • Field Details

  • Constructor Details

    • AbstractExpression

      public AbstractExpression()
  • Method Details

    • getChildren

      public Expression[] getChildren()
      Description copied from interface: Expression
      The children (if any) that this expression is dependent on for its execution
      Specified by:
      getChildren in interface Expression
    • setChildren

      public void setChildren(Expression[] expressions)
    • connect

      public void connect(CommonContext context, InteractionListener updateListener)
      Description copied from interface: Expression
      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.
      Specified by:
      connect in interface Expression
    • disconnect

      public void disconnect()
      Description copied from interface: Expression
      Tells the expression to disconnect from anything it was connected to.
      Specified by:
      disconnect in interface Expression
    • shutdown

      public void shutdown()
      Description copied from interface: Expression
      Tells the expression to shutdown any polling operations.
      Specified by:
      shutdown in interface Expression
    • startup

      public void startup()
      Description copied from interface: Expression
      Tells the expression to startup any polling operations. Expressions that use this can remember the updateListener from connect() to feed update notification to.
      Specified by:
      startup in interface Expression