Interface ValidationScenarioInvoker

    • 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.