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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Thread
runValidationScenarios(java.lang.String[] scenarioNames)
Run specific, already-defined validation scenarios.
-
-
-
Method Detail
-
runValidationScenarios
java.lang.Thread runValidationScenarios(java.lang.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.
-
-