Class AbstractMapTransform
- java.lang.Object
- 
- com.inductiveautomation.perspective.gateway.binding.transforms.AbstractSynchronousTransform
- 
- com.inductiveautomation.perspective.gateway.binding.transforms.map.AbstractMapTransform
 
 
- 
- All Implemented Interfaces:
- Transform
 
 public abstract class AbstractMapTransform extends AbstractSynchronousTransform Base class for a Map Transform. Handles thread-safe scheduling of itsMappingCollection'supdates and is the liaison between theBindingContextand the MappingCollection.
- 
- 
Field SummaryFields Modifier and Type Field Description protected BindingContextcontextprotected MappingElementfallback
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReady()Used for unit tests to see if this tranfsorm is ready immediately after startup or if it is required to wait until bindingContext.processPublishedValue is called for the first time.voidshutdown()Shutdown hook called by theAbstractBindingHarness.voidstartup()Startup hook called by theAbstractBindingHarness.protected QualifiedValuesynchronousTransformInternal(QualifiedValue value)Perform a blocking transformation on aQualifiedValue, returning the transformed value as a QualifiedValue.- 
Methods inherited from class com.inductiveautomation.perspective.gateway.binding.transforms.AbstractSynchronousTransformtransform
 - 
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.TransformresolveReferences
 
- 
 
- 
- 
- 
Field Detail- 
contextprotected final BindingContext context 
 - 
fallbackprotected final MappingElement fallback 
 
- 
 - 
Method Detail- 
startuppublic void startup() Description copied from interface:TransformStartup hook called by theAbstractBindingHarness. This method will run on theSessionContext'sExecutionQueuethread. The default implementation is a no-op.
 - 
isReadypublic boolean isReady() Used for unit tests to see if this tranfsorm is ready immediately after startup or if it is required to wait until bindingContext.processPublishedValue is called for the first time.
 - 
shutdownpublic void shutdown() Description copied from interface:TransformShutdown hook called by theAbstractBindingHarness. This method will run on theSessionContext'sExecutionQueuethread. The default implementation is a no-op.
 - 
synchronousTransformInternalprotected QualifiedValue synchronousTransformInternal(@Nonnull QualifiedValue value) Description copied from class:AbstractSynchronousTransformPerform a blocking transformation on aQualifiedValue, returning the transformed value as a QualifiedValue.- Specified by:
- synchronousTransformInternalin class- AbstractSynchronousTransform
- Parameters:
- value- The input value to transform. The value will never be null.
- Returns:
- The transformed value.
 
 
- 
 
-