Package com.axelor.ai.procedure
Class ProcessInspector
java.lang.Object
com.axelor.ai.procedure.ProcessInspector
The digest of how a model's forms work, read from their definitions — what an author writes
procedures against, and what an admin reads after an upgrade: the ways in, the states, the fields
and buttons with their client expressions verbatim, the hooks, every chain written out with the
questions it can ask, the workflows on the model. Nothing is evaluated or run.
Forms are resolved as a run resolves them (FormSpec.of(String)), extensions merged, so
the digest and the runtime cannot disagree. Given a skill, it also checks each of its procedures
against the forms as they are now: what would stop it from running, and the questions its chains
can ask that its interactions do not answer.
-
Method Summary
Modifier and TypeMethodDescriptionThe digest of the forms of a model.Each procedure of the skill checked against the forms as they are now: what would stop it, the questions its chains can ask that itsinteractionsdo not answer, and the client expressions on the buttons and fields it uses — for the author to review; there is no earlier copy to compare them with.
-
Method Details
-
digest
The digest of the forms of a model.- Parameters:
subject- a model (full or simple name), a custom model, or an action-view- Throws:
IllegalArgumentException- when it names none of these
-
drift
Each procedure of the skill checked against the forms as they are now: what would stop it, the questions its chains can ask that itsinteractionsdo not answer, and the client expressions on the buttons and fields it uses — for the author to review; there is no earlier copy to compare them with.
-