|
Module Simantics/IssueThis module is undocumented. This is a list of its definitions. issueSources :: Resource -> <ReadGraph> [(String, Resource)] Lists issue sources that are included in the provided index root (e.g. model). issuesOf :: Resource -> <ReadGraph> [Resource] Returns the issues of the given model, recursively. The issues that are direct children of the model are returned, and the search continues into those children that are not issues themselves, so that issues collected under libraries and folders are found as well. newUserIssueForModel :: Resource -> String -> Resource -> [Resource] -> <WriteGraph> Resource
runActiveValidations :: ProgressMonitor -> Resource -> <Proc> ()
runAllBatchValidations :: ProgressMonitor -> Resource -> Resource -> <Proc> ()
setIssueSourceActivity :: Boolean -> Resource -> String -> <WriteGraph> ()
activates the specified issue source or fails if the issue source does not exist in the provided root.
Use userIssue :: () -> <WriteGraph> Resource Creates a user issue labelled "New User Issue" with severity userIssueAdvanced :: Resource -> String -> Resource -> [Resource] -> <WriteGraph> Resource Creates a user issue in the given model. Identical to newUserIssueForModel, which it calls. validateDomain :: Resource -> <ReadGraph> [IssueI] Validates the constraints of the given resource and of everything that belongs to it, that is, everything that would be carried along if the resource were exported, and returns the issues that were found. Nothing is written into the database. |