Class PropertyBasedExpressionParseContext.PropertyReferenceExpression
java.lang.Object
com.inductiveautomation.ignition.common.expressions.AbstractExpression
com.inductiveautomation.ignition.gateway.expressions.PropertyBasedExpressionParseContext.PropertyReferenceExpression
- All Implemented Interfaces:
ObservablePropertySource.PropertyInteractionListener
,Expression
- Enclosing class:
- PropertyBasedExpressionParseContext
protected class PropertyBasedExpressionParseContext.PropertyReferenceExpression
extends AbstractExpression
implements ObservablePropertySource.PropertyInteractionListener
-
Field Summary
FieldsFields inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
children, context, updateListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
connect
(CommonContext context, InteractionListener updateListener) Gives the expression a chance to connect itself to things, if necessary.void
Tells the expression to disconnect from anything it was connected to.execute()
Compute and return the value of this expressionReturn a human-readable name for the operation that this expression performsClass<?>
getType()
Return the type that this expression will returnvoid
propertyChanged
(Property<?> prop) Methods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
getChildren, setChildren, shutdown, startup
-
Field Details
-
prop
-
-
Constructor Details
-
PropertyReferenceExpression
-
-
Method Details
-
execute
Description copied from interface:Expression
Compute and return the value of this expression- Specified by:
execute
in interfaceExpression
- Throws:
ExpressionException
-
getType
Description copied from interface:Expression
Return the type that this expression will return- Specified by:
getType
in interfaceExpression
-
getOpName
Description copied from interface:Expression
Return a human-readable name for the operation that this expression performs- Specified by:
getOpName
in interfaceExpression
-
connect
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 interfaceExpression
- Overrides:
connect
in classAbstractExpression
-
disconnect
public void disconnect()Description copied from interface:Expression
Tells the expression to disconnect from anything it was connected to.- Specified by:
disconnect
in interfaceExpression
- Overrides:
disconnect
in classAbstractExpression
-
propertyChanged
- Specified by:
propertyChanged
in interfaceObservablePropertySource.PropertyInteractionListener
-