Interface ValidationScenarioInvoker
- All Known Subinterfaces:
AuthorEditorAccess
,IWebappAuthorEditorAccess
,ScenarioInvoker
,WSEditor
,WSEditorBase
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface ValidationScenarioInvoker
Invokes a validation scenario.
- Since:
- 22.1
-
Method Summary
Modifier and TypeMethodDescriptionrunValidationScenarios
(String[] scenarioNames) Run specific, already-defined validation scenarios.
-
Method Details
-
runValidationScenarios
Thread runValidationScenarios(String[] scenarioNames) throws ValidationScenarioNotFoundException, OperationInProgressException Run specific, already-defined validation scenarios. A separate thread is started and runs each scenario sequentially. The method returns immediately.- Parameters:
scenarioNames
- An array of scenario names defined in the document type associated to the current editor.- Returns:
- The thread that runs the validation.
- Throws:
ValidationScenarioNotFoundException
- If one of the scenarios is not found.OperationInProgressException
- Another validation task is currently running.
-