SimulationPlugin
- com.fico.xpress.simulation.plugins.SimulationPlugin<T extends SimulationPluginConfig>
-
- All Known Implementing Classes:
-
HealthCheckSimulationPlugin
public interface SimulationPlugin<T extends SimulationPluginConfig>Interface describing the operations that can be performed by a Xpress Function Execution Engine. This interface is designed so that migrating to the DMP Function interface is made simpler.As a reference, we provide a copy of the DMPFunction interface
-
-
Method Summary
Modifier and Type Method Description Stringexecute(String payload)default Class<?>getConfigClass()This method returns a class that implements theSimulationPluginConfiginterface.default StringgetName()voidinit(SimulationPluginConfig simulationPluginConfig)voidshutdown()default StringvalidateInput(String input)default StringvalidateResponse(String response)
-
-
-
Method Detail
-
init
void init(SimulationPluginConfig simulationPluginConfig) throws SimulationException
- Throws:
-
SimulationException
-
execute
String execute(String payload) throws SimulationException
- Throws:
-
SimulationException
-
shutdown
void shutdown()
-
getName
default String getName()
-
validateInput
default String validateInput(String input) throws SimulationException
- Throws:
-
SimulationException
-
validateResponse
default String validateResponse(String response) throws SimulationException
- Throws:
-
SimulationException
-
getConfigClass
default Class<?> getConfigClass()
This method returns a class that implements theSimulationPluginConfiginterface. It is used to convert request expressed in textual form (json) into a java object that can be passed to the simulation service.- Returns:
- A class object that can be used to create a SimulationServiceConfig object for the plugin
-
-
© 2001-2022 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
