Interface Transform
- 
- All Known Implementing Classes:
- AbstractMapTransform,- AbstractSynchronousTransform,- BrokenTransform,- ScriptTransform
 
 public interface TransformCreated by carlg on 1/26/2017.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.Collection<PropertyReference>resolveReferences()default voidshutdown()Shutdown hook called by theAbstractBindingHarness.default voidstartup()Startup hook called by theAbstractBindingHarness.java.util.concurrent.CompletableFuture<QualifiedValue>transform(QualifiedValue value)When the binding or previous transform emits a value, it will be given to this method.
 
- 
- 
- 
Method Detail- 
startupdefault void startup() Startup hook called by theAbstractBindingHarness. This method will run on theSessionContext'sExecutionQueuethread. The default implementation is a no-op.
 - 
shutdowndefault void shutdown() Shutdown hook called by theAbstractBindingHarness. This method will run on theSessionContext'sExecutionQueuethread. The default implementation is a no-op.
 - 
resolveReferencesdefault java.util.Collection<PropertyReference> resolveReferences() 
 - 
transformjava.util.concurrent.CompletableFuture<QualifiedValue> transform(@Nonnull QualifiedValue value) throws java.lang.Throwable When the binding or previous transform emits a value, it will be given to this method. The expectation is that the transform will then push the transformed value onto the callback given to it in the factory- Parameters:
- value- The input value to the- Transform. It could be the output value of the binding itself if the transform is first in the chain, or it could be a transformed value if it is after the first in the chain. The input- QualifiedValuecan never be null (though the value it wraps can be null)
- Throws:
- java.lang.Throwable- If there is a problem with the transformation
 
 
- 
 
-