Package com.axelor.workflow.compiler
Interface WorkflowCatalog
- All Known Implementing Classes:
MetaWorkflowCatalog,StudioWorkflowCatalog
public interface WorkflowCatalog
Which workflows exist and what each references: what
WorkflowLinker resolves against.
Core's is MetaWorkflowCatalog; Studio's also sees workflows not yet deployed.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA workflow identity:(model, jsonModel, name);jsonModelmay be null. -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether a workflow with this identity is in the catalog.The refs declared by the workflowid, or none when it is absent or does not compile.default WorkflowCatalog.WorkflowRefResolve arefname to an identity, orunresolvedRef(String)when unknown or ambiguous, so linking reports a violation rather than aborting.static WorkflowCatalog.WorkflowRefunresolvedRef(String name) The identity of a name that resolves to no single workflow.
-
Method Details
-
resolve
Resolve arefname to an identity, orunresolvedRef(String)when unknown or ambiguous, so linking reports a violation rather than aborting. -
unresolvedRef
The identity of a name that resolves to no single workflow. -
exists
Whether a workflow with this identity is in the catalog. -
refsOf
The refs declared by the workflowid, or none when it is absent or does not compile.
-