Class ElementBindingHarness
java.lang.Object
com.inductiveautomation.perspective.gateway.model.AbstractBindingHarness
com.inductiveautomation.perspective.gateway.model.ElementBindingHarness
- All Implemented Interfaces:
- AuditingContext,- BindingContext,- LoggingContext
- 
Field SummaryFields inherited from class com.inductiveautomation.perspective.gateway.model.AbstractBindingHarnessbinding, shutdown, targetComponent, targetProperty, transforms, typeCode
- 
Constructor SummaryConstructorsConstructorDescriptionElementBindingHarness(PerspectiveElement targetComponent, PropertyKey target, BindingConfig config) 
- 
Method SummaryModifier and TypeMethodDescriptionnewFactory(PerspectiveElement element) protected RunnablesubscribeToTarget(Consumer<PropertyTreeChangeEvent> callback) Attempt to subscribe to the target property.toString()protected voidwriteToTarget(QualifiedValue value) Write the given value to the target property.Methods inherited from class com.inductiveautomation.perspective.gateway.model.AbstractBindingHarnessgetAuditSnapshot, getInitialValueFuture, getLastValue, getLogger, getMdcParent, getTargetElement, getTargetProperty, mdcSetup, mdcTeardown, onBindingProducedValue, onTransformProducedValue, processPublishedValue, publish, refresh, resolveReferences, shutdown, startupMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.inductiveautomation.perspective.gateway.api.AuditingContextauditMethods inherited from interface com.inductiveautomation.perspective.gateway.api.BindingContextgetAuditProfile, getDiagnosticPath, getExecutorService, getMutabilityMode, getScheduler, getSession, publishMethods inherited from interface com.inductiveautomation.perspective.gateway.api.LoggingContextmdc, mdcSetupTree, mdcTeardownTree, mdcWrap
- 
Constructor Details- 
ElementBindingHarnesspublic ElementBindingHarness(PerspectiveElement targetComponent, PropertyKey target, BindingConfig config) 
 
- 
- 
Method Details- 
newFactory
- 
toString
- 
subscribeToTargetDescription copied from class:AbstractBindingHarnessAttempt to subscribe to the target property.- Specified by:
- subscribeToTargetin class- AbstractBindingHarness
- Parameters:
- callback- When the target property changes, call this consumer and give it a way to fetch the new value
- Returns:
- A runnable which when called will tear down the subscription. May be null if the subscription wasn't able to be established.
 
- 
writeToTargetDescription copied from class:AbstractBindingHarnessWrite the given value to the target property.- Specified by:
- writeToTargetin class- AbstractBindingHarness
 
 
-