Interface ActionValidator
- All Known Implementing Classes:
AudioPlayValidator
,AudioSetValidator
,AudioStopValidator
,BackgroundSetValidator
,CharacterEnterValidator
,CharacterExitValidator
,ChoiceValidator
,DialogueChorusValidator
,DialogueHideValidator
,DialogueShowValidator
,GotoValidator
,ParallelValidator
public interface ActionValidator
Interface to define action validators.
-
Method Summary
Modifier and TypeMethodDescriptionvalidate
(String beatId, ActionDTO action, ValidationCtx context) Validate an action against a set of rules defined for each type of action.
-
Method Details
-
validate
Validate an action against a set of rules defined for each type of action.- Parameters:
beatId
- The id of the beat having one of its actions validatedaction
- TheActionDTO
being validatedcontext
- TheValidationCtx
with the document context- Returns:
- A list of
AuthoringError
for each rule infraction
-