Skip to main content
Version: 8.2411.x.x RR

DataFunction

DataFunctions are public static member functions which can be called using the Java Unified Expression Language, whenever an expression is configured. nevisDataPorter provides a fixed set of DataFunctions mainly for string and collection data manipulation. However, it is possible to register additional classes providing DataFunction implementation in the configuration. Public static member functions have to be annotated using the DataFunction annotation.

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DataFunction {
/**
* The prefix to be used for the function
*/
String prefix();
/**
* The name to be used for the function
*/
String name();
/**
* The names of the arguments of the function
*/
String[] argumentNames();
}