Package com.axelor.ai.procedure
Class ProcedureCatalog
java.lang.Object
com.axelor.ai.procedure.ProcedureCatalog
A skill's procedures as an agent may see and run them: parsed, and only those in its scope.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe skill's procedures the call may run; none when unreadable.The refusal for running the procedure, on the form's spec the caller has built already, or null wheninScope(Procedure, Access).booleanWhether the user and the agent may do what the procedure does on its model: create for a procedure on a new record, update for one on a saved record.What loading a skill adds for its procedures: one line each — name, title, guard, inputs — or nothing when none is in scope.
-
Constructor Details
-
ProcedureCatalog
public ProcedureCatalog()
-
-
Method Details
-
available
The skill's procedures the call may run; none when unreadable. -
inScope
Whether the user and the agent may do what the procedure does on its model: create for a procedure on a new record, update for one on a saved record. -
denial
The refusal for running the procedure, on the form's spec the caller has built already, or null wheninScope(Procedure, Access). -
listing
What loading a skill adds for its procedures: one line each — name, title, guard, inputs — or nothing when none is in scope.
-