
com.mastercard.test.flow.Dependency Maven / Gradle / Ivy
The newest version!
package com.mastercard.test.flow;
import java.util.function.UnaryOperator;
/**
* Defines an inter-{@link Flow} data dependency. These should be fulfilled when
* {@link Flow}s are built and again when they are processed.
*/
public interface Dependency {
/**
* Defines the origin of the data dependency
*
* @return The {@link Message} field to copy the data from
*/
FieldAddress source();
/**
* Defines how the data is changed as the dependency is fulfilled
*
* @return How the data is transformed after it gets pulled from the
* {@link #source()} and before it gets populated into the
* {@link #sink()}
*/
UnaryOperator
© 2015 - 2025 Weber Informatics LLC | Privacy Policy