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 TypeMethodDescriptionvoiddispose()voidinit()voidvalidate(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 concreteEObjectfrom Bsl language model
-
Constructor Details
-
BslValidationContributor
@Inject public BslValidationContributor(ICheckExecutor checker, ICheckRepository checkRepository, ISuppressSettingsManager suppressManager) Constructs an instance of the contributor- Parameters:
checker- TheICheckExecutorreference. Cannot benullsuppressManager- TheISuppressSettingsManagerreference. 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:IBslValidationContributorValidates concreteEObjectfrom Bsl language model- Specified by:
validatein interfaceIBslValidationContributor- Parameters:
eObject- validating object, cannot benulldiagnostic- actualDiagnosticChainfor accumulateIssue, cannot benullcontext- The context of the validation. Stores the externally provided data that affects the called validation scenarios. Cannot benullproject- the project, can benullprogressMonitor- canсel indicator, can benull
-