Class ExpressionStructureBinding
- java.lang.Object
- 
- com.inductiveautomation.perspective.gateway.binding.expression.structure.ExpressionStructureBinding
 
- 
- All Implemented Interfaces:
- ExpressionStructureBindingConstants,- Binding
 
 public class ExpressionStructureBinding extends java.lang.Object implements Binding, ExpressionStructureBindingConstants An ExpressionStructureBinding is aBindingwhere a given JSON document of any shape / size will have all its string value leaf nodes interpreted as expression sources
- 
- 
Field Summary- 
Fields inherited from interface com.inductiveautomation.perspective.gateway.api.BindingBAD_CONFIG, BAD_REF, BIDIRECTIONAL_KEY, INITIAL_VALUE, MDC_BINDING_TARGET, NOT_FOUND
 - 
Fields inherited from interface com.inductiveautomation.perspective.common.config.constants.ExpressionStructureBindingConstantsTYPE_ID
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExpressionStructureBinding(BindingContext bindingContext, BindingConfig bindingConfig, PerspectiveExpressionFactory exprFactory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonUserRefresh()Called to prompt the binding to produce a value as soon as possible.java.util.Collection<PropertyReference>resolveReferences()voidshutdown()Shut down the binding.voidstartup()Start up the binding.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.perspective.gateway.api.BindingisBidirectional, onTargetUpdated
 
- 
 
- 
- 
- 
Constructor Detail- 
ExpressionStructureBindingpublic ExpressionStructureBinding(@Nonnull BindingContext bindingContext, @Nonnull BindingConfig bindingConfig, @Nonnull PerspectiveExpressionFactory exprFactory) throws ConfigurationException- Throws:
- ConfigurationException
 
 
- 
 - 
Method Detail- 
resolveReferencespublic java.util.Collection<PropertyReference> resolveReferences() - Specified by:
- resolveReferencesin interface- Binding
 
 - 
startuppublic void startup() Description copied from interface:BindingStart up the binding. Will be called on-queue
 - 
shutdownpublic void shutdown() Description copied from interface:BindingShut down the binding. Will be called on-queue
 - 
onUserRefreshpublic void onUserRefresh() Description copied from interface:BindingCalled to prompt the binding to produce a value as soon as possible. This _not_ the normal way that bindings work. Bindings are expected to produce a value un-prompted after startup, and then again whenever they feel is appropriate. This is there to allow the user to call component.refreshBinding(property) and prompt a non-polling binding to run.- Specified by:
- onUserRefreshin interface- Binding
 
 
- 
 
-