Add javadoc on new public method

Resolves #690
This commit is contained in:
Oleg Zhurakousky
2021-04-26 15:16:47 +02:00
parent e16be9c50d
commit 8e5a9facde

View File

@@ -365,10 +365,24 @@ public class SimpleFunctionRegistry implements FunctionRegistry, FunctionInspect
this.skipOutputConversion = skipOutputConversion;
}
/**
* !!! INTERNAL USE ONLY !!!
* This is primarily to support s-c-Stream's ability to access
* un-converted payload (e.g., to evaluate expression on some attribute of a payload)
* It is not intended to remain here and will be removed as soon as particular elements
* of stream will be refactored to address this.
*/
public Function<Object, Message> getEnhancer() {
return this.enhancer;
}
/**
* !!! INTERNAL USE ONLY !!!
* This is primarily to support s-c-Stream's ability to access
* un-converted payload (e.g., to evaluate expression on some attribute of a payload)
* It is not intended to remain here and will be removed as soon as particular elements
* of stream will be refactored to address this.
*/
public void setEnhancer(Function<Object, Message> enhancer) {
this.enhancer = enhancer;
}