Class LanguageValidationContext

java.lang.Object
com.e1c.g5.v8.dt.internal.check.bsl.LanguageValidationContext

public class LanguageValidationContext extends Object
The check-specific data context that is used during the Xtext resource validation phase to perform managed checks. This context is applied automatically by the ICheckExecutor engine and accessible via context set of the IBslValidationContributor call. Not the part of the public API
  • Field Details

  • Constructor Details

    • LanguageValidationContext

      public LanguageValidationContext(IBslElementRegionProvider regionProvider)
      Constructs an instance of the context for late binding
    • LanguageValidationContext

      public LanguageValidationContext(Set<String> checkIds)
      Constructs an instance of the context
      Parameters:
      checkIds - The set of checks to perform. May not be null
  • Method Details

    • getCheckIds

      public Set<String> getCheckIds()
      Gets the schedules set of checks
      Returns:
      The set of check identifiers. May not be null
    • getRegionProvider

      public IBslElementRegionProvider getRegionProvider()
      Gets the BSL element region provider
      Returns:
      IBslElementRegionProvider, never null
    • getContextCollector

      public ICheckExecutor.CheckContextCollector getContextCollector()
      Check context collector that is used during check context preparation cycle
      Returns:
      The context collector, never null