Package com._1c.g5.v8.dt.bsl.validation
Class ExternalValidatorServiceProvider
java.lang.Object
com._1c.g5.v8.dt.bsl.validation.ExternalValidatorServiceProvider
Special service for providing all external validation for Bsl languages
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.common.util.DiagnosticChain diagnostic, Map<Object, Object> context, org.eclipse.core.resources.IProject project) Validatesobjectby all compatibleIExternalBslValidator.
-
Constructor Details
-
ExternalValidatorServiceProvider
public ExternalValidatorServiceProvider()
-
-
Method Details
-
validate
public void validate(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.common.util.DiagnosticChain diagnostic, Map<Object, Object> context, org.eclipse.core.resources.IProject project) Validatesobjectby all compatibleIExternalBslValidator. The compatibility is defined by type of the first argument in methodIExternalBslValidator.validate(EObject, CustomValidationMessageAcceptor),objectshould be instance of this type.- Parameters:
object- validating object, can't benullclazz- actual class of validating object, can't benulldiagnostic- actualDiagnosticChainfor accumulate all validation messages, can't benullcontext- context of validation, can't benullproject- the project, can benull
-