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 TypeMethodDescriptionvoid
validate
(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.common.util.DiagnosticChain diagnostic, Map<Object, Object> context, org.eclipse.core.resources.IProject project) Validatesobject
by 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) Validatesobject
by all compatibleIExternalBslValidator
. The compatibility is defined by type of the first argument in methodIExternalBslValidator.validate(EObject, CustomValidationMessageAcceptor)
,object
should be instance of this type.- Parameters:
object
- validating object, can't benull
clazz
- actual class of validating object, can't benull
diagnostic
- actualDiagnosticChain
for accumulate all validation messages, can't benull
context
- context of validation, can't benull
project
- the project, can benull
-