Class BslQlDelegatingCheck

java.lang.Object
com.e1c.g5.v8.dt.check.components.BasicCheck
com.e1c.g5.v8.dt.internal.bsl.check.BslQlDelegatingCheck
All Implemented Interfaces:
ITopObjectFilter, ICheck

public final class BslQlDelegatingCheck extends BasicCheck
The delegating check of module string literal that contains Query Language text. This check may load fully valid query text or partly-valid query text of package query or union-query. This implementation maps each marker from the QL model to StringLiteral lines. If query has invalid syntax - all errors and warnings will be mapped onto lines of StringLiteral.
  • Constructor Details

    • BslQlDelegatingCheck

      public BslQlDelegatingCheck()
  • Method Details

    • getCheckId

      public String getCheckId()
      Description copied from interface: ICheck
      Gets the unique identifier of the check. The identifier should be unique. The system performs automated identifier conflict resolution in case of non-unique identifiers, with addition of conflict-resolving symbols to the identifier
      Returns:
      The identifier of the check. May not be null
    • configureCheck

      protected void configureCheck(BasicCheck.CheckConfigurer builder)
      Description copied from class: BasicCheck
      The check is performed in case of changes of the tracjed object model/language module changes. In order to define the rules of the check performing, the developer should define the set of EClass'es and their features those changes are being tracked/or be targets of the validation
      Specified by:
      configureCheck in class BasicCheck
    • check

      protected void check(Object object, BasicCheck.ResultAcceptor resultAcceptor, ICheckParameters parameters, org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from class: BasicCheck
      The method that performs the check. Check results (issues) need to be placed into the result acceptor. Validation may be cancelled by a user. Complex implemantations should take this into the account and check IProgressMonitor.isCanceled() periodically during long-running operations.
      Overrides:
      check in class BasicCheck
      Parameters:
      object - The object to check, not null
      resultAcceptor - Result acceptor, not null
      parameters - The set of check execution parameters taken from check settings, not null
      monitor - Current check progress monitor, not null