Class StateReferenceValidator
java.lang.Object
io.github.jspinak.brobot.json.schemaValidation.crossref.StateReferenceValidator
Validates references related to states, including state elements, transitions,
and references to states from other components.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidateInternalReferences
(Object projectModel) Validates internal references within the project model that are related to states.validateStateReferencesInFunctions
(Object projectModel, Object dslModel) Validates references to states in automation functions.
-
Constructor Details
-
StateReferenceValidator
public StateReferenceValidator()
-
-
Method Details
-
validateInternalReferences
Validates internal references within the project model that are related to states. This includes state element references, transition references, etc.- Parameters:
projectModel
- Parsed project model- Returns:
- Validation result
-
validateStateReferencesInFunctions
Validates references to states in automation functions.- Parameters:
projectModel
- Parsed project modeldslModel
- Parsed DSL model- Returns:
- Validation result
-