Class LanguageCheckDerivedDataComputer

java.lang.Object
com.e1c.g5.v8.dt.internal.check.derived.LanguageCheckDerivedDataComputer
All Implemented Interfaces:
IDerivedDataComputer

public class LanguageCheckDerivedDataComputer extends Object implements IDerivedDataComputer
Derived data computer that handles performing of language checks. This implementation uses the capabilities of the IBslDeepAnalisysService to perform validation
  • Constructor Details

    • LanguageCheckDerivedDataComputer

      public LanguageCheckDerivedDataComputer(String supportedSegmentId, Collection<org.eclipse.emf.ecore.EClass> supportedTypes, Set<String> languageCheckIds, ICheckExecutor checkExecutor, IResourceLookup resourceLookup, IBslDeepAnalisysService deepAnalisysService, ISuppressSettingsManager suppressSettingsManager)
      Constructs an instance of the computer.
      Parameters:
      supportedSegmentId - supported segment id, not null
      supportedTypes - The set of EClass'es that a hanfled by this computer, not null
      languageCheckIds - The full set of check identifiers for checks that pariticipates in language checking process, not null
      checkExecutor - The check executor service reference. May not be null
      resourceLookup - resource lookup, not null
      deepAnalisysService - The BSL deep analysis service reference. May not be null
      suppressSettingsManager - The suppress settings manager reference. May not be null
  • Method Details

    • compute

      public void compute(IObjectDerivedDataContext objectContext, IBmModel model, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
      Description copied from interface: IDerivedDataComputer
      Computes the derived data parts of the BM object.
      Specified by:
      compute in interface IDerivedDataComputer
      Parameters:
      objectContext - The DD context for the target object. Cannot be nulls
      model - BM model. Cannot be null
      progressMonitor - The progress monitor that allows to cancel the computation. Cannot be null
    • getSupportedSegmentId

      public String getSupportedSegmentId()
      Description copied from interface: IDerivedDataComputer
      Gets the DD segment supported by this instance of the computer.
      Specified by:
      getSupportedSegmentId in interface IDerivedDataComputer
      Returns:
      The identifier of the supported DD segment. Cannot be null
    • getSupportedTypes

      public Collection<org.eclipse.emf.ecore.EClass> getSupportedTypes()
      Specified by:
      getSupportedTypes in interface IDerivedDataComputer
      Returns:
      a collection of the supported BM object types. Cannot be null or empty