Package com._1c.g5.v8.dt.bsl.validation
Class ExternalValidatorServiceProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.validation.ExternalValidatorServiceProvider
-
public class ExternalValidatorServiceProvider extends Object
Special service for providing all external validation for Bsl languages
-
-
Constructor Summary
Constructors Constructor Description ExternalValidatorServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
.
-
-
-
Method Detail
-
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
-
-