public interface PolicyConsequentInterface
Modifier and Type | Method and Description |
---|---|
Object |
process(PolicyAgentInterface agent,
AgentUI ui,
Map<String,LispObject> lispBindings)
Executes the
#code as in the context of the agent and returns the object returned from
the lisp execution. |
Object process(PolicyAgentInterface agent, AgentUI ui, Map<String,LispObject> lispBindings) throws Exception, ControlTransfer
#code
as in the context of the agent and returns the object returned from
the lisp execution. If the returned object is a JavaObject
, the referenced JavaObject
is returned, otherwise the LispObject
is returned.lispBindings
- TODOControlTransfer
{@link
- RuntimeException} if the java execution fails, or succeeds but fails to return an object.Exception