Class BslValidationContributor
java.lang.Object
com.e1c.g5.v8.dt.internal.check.bsl.BslValidationContributor
- All Implemented Interfaces:
IBslValidationContributor
@LifecycleService(name="BSL_VALIDATION_CONTRIBUTOR")
public class BslValidationContributor
extends Object
implements IBslValidationContributor
Implementation of the
IBslValidationContributor
that delegates the validation to the pre-selected set
of checks via the ICheckExecutor
-
Nested Class Summary
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.bsl.validation.IBslValidationContributor
IBslValidationContributor.ContextHolderAdapter
-
Constructor Summary
ConstructorsConstructorDescriptionBslValidationContributor
(ICheckExecutor checker, ICheckRepository checkRepository, ISuppressSettingsManager suppressManager) Constructs an instance of the contributor -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
init()
void
validate
(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.DiagnosticChain diagnostic, Map<Object, Object> context, org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Validates concreteEObject
from Bsl language model
-
Constructor Details
-
BslValidationContributor
@Inject public BslValidationContributor(ICheckExecutor checker, ICheckRepository checkRepository, ISuppressSettingsManager suppressManager) Constructs an instance of the contributor- Parameters:
checker
- TheICheckExecutor
reference. Cannot benull
suppressManager
- TheISuppressSettingsManager
reference. Cannot benull
-
-
Method Details
-
dispose
-
init
-
validate
public void validate(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.common.util.DiagnosticChain diagnostic, Map<Object, Object> context, org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Description copied from interface:IBslValidationContributor
Validates concreteEObject
from Bsl language model- Specified by:
validate
in interfaceIBslValidationContributor
- Parameters:
eObject
- validating object, cannot benull
diagnostic
- actualDiagnosticChain
for accumulateIssue
, cannot benull
context
- The context of the validation. Stores the externally provided data that affects the called validation scenarios. Cannot benull
project
- the project, can benull
progressMonitor
- canсel indicator, can benull
-