Package tech.muyan.domain
Interface DynamicLogic
-
public interface DynamicLogic
Dynamic logic that can be invoked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Get the name of the dynamic logic.java.util.Map<java.lang.String,java.lang.Object>
invoke(java.util.Map<java.lang.String,java.lang.Object> params)
Invoke the dynamic logic with the given parameters.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the name of the dynamic logic.- Returns:
- the name of the dynamic logic
-
invoke
java.util.Map<java.lang.String,java.lang.Object> invoke(java.util.Map<java.lang.String,java.lang.Object> params)
Invoke the dynamic logic with the given parameters.- Parameters:
params
- the parameters to invoke the dynamic logic with- Returns:
- the result of invoking the dynamic logic
-
-