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
  • Constructor Details

  • Method Details

    • dispose

      @LifecycleParticipant(phase=UNLINKING, dependsOn="CHECK_REPOSITORY") public void dispose()
    • init

      @LifecycleParticipant(phase=LINKING, dependsOn="CHECK_REPOSITORY") public void 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 concrete EObject from Bsl language model
      Specified by:
      validate in interface IBslValidationContributor
      Parameters:
      eObject - validating object, cannot be null
      diagnostic - actual DiagnosticChain for accumulate Issue, cannot be null
      context - The context of the validation. Stores the externally provided data that affects the called validation scenarios. Cannot be null
      project - the project, can be null
      progressMonitor - canсel indicator, can be null