com.tacitknowledge.slowlight.proxyserver.handler.behavior.BehaviorFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of slowlight-proxy Show documentation
Show all versions of slowlight-proxy Show documentation
Standalone proxy tool for creating issues with synchronous RPC calls
The newest version!
package com.tacitknowledge.slowlight.proxyserver.handler.behavior;
import java.util.Map;
import com.tacitknowledge.slowlight.proxyserver.config.BehaviorFunctionConfig;
/**
* @author Alexandr Donciu ([email protected])
*/
public interface BehaviorFunction
{
/**
* Evaluates a function using specified parameters.
*
* @param params function parameters
* @return evaluation result
*/
Object evaluate(Map params);
/**
* Checks if function should be evaluated (ex. it can check if function is applicable for a given time interval).
*
* @return true if function should be evaluated, otherwise false
*/
boolean shouldEvaluate(BehaviorFunctionConfig functionConfig);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy