Class BoundPropertyExpression
- java.lang.Object
-
- com.inductiveautomation.ignition.common.expressions.AbstractExpression
-
- com.inductiveautomation.ignition.common.expressions.BoundPropertyExpression
-
- All Implemented Interfaces:
ObservablePropertySource.PropertyInteractionListener,Expression
public class BoundPropertyExpression extends AbstractExpression implements ObservablePropertySource.PropertyInteractionListener
This is an expression that is bound to a property value in a given PropertyValueSource.
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
children, context, updateListener
-
-
Constructor Summary
Constructors Constructor Description BoundPropertyExpression(PropertyValueSource source, Property<?> target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QualifiedValueexecute()Compute and return the value of this expressionjava.lang.StringgetOpName()Return a human-readable name for the operation that this expression performsjava.lang.Class<?>getType()Return the type that this expression will returnvoidpropertyChanged(Property<?> prop)voidshutdown()Tells the expression to shutdown any polling operations.voidstartup()Tells the expression to startup any polling operations.-
Methods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
connect, disconnect, getChildren, setChildren
-
-
-
-
Constructor Detail
-
BoundPropertyExpression
public BoundPropertyExpression(PropertyValueSource source, Property<?> target)
-
-
Method Detail
-
execute
@Nonnull public QualifiedValue execute() throws ExpressionException
Description copied from interface:ExpressionCompute and return the value of this expression- Specified by:
executein interfaceExpression- Throws:
ExpressionException
-
getType
public java.lang.Class<?> getType()
Description copied from interface:ExpressionReturn the type that this expression will return- Specified by:
getTypein interfaceExpression
-
getOpName
public java.lang.String getOpName()
Description copied from interface:ExpressionReturn a human-readable name for the operation that this expression performs- Specified by:
getOpNamein interfaceExpression
-
startup
public 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 interfaceExpression- Overrides:
startupin classAbstractExpression
-
shutdown
public void shutdown()
Description copied from interface:ExpressionTells the expression to shutdown any polling operations.- Specified by:
shutdownin interfaceExpression- Overrides:
shutdownin classAbstractExpression
-
propertyChanged
public void propertyChanged(Property<?> prop)
- Specified by:
propertyChangedin interfaceObservablePropertySource.PropertyInteractionListener
-
-