Interface ConfigChecker

All Known Implementing Classes:
BaseImportConfigChecker, BinaryImportConfigChecker, CsvImportConfigChecker, DownsampleImportConfigChecker, JdbcImportConfigChecker, MergeConfigChecker, ReplayConfigChecker, ScriptConfigChecker, ValidateConfigChecker, XmlImportConfigChecker

public interface ConfigChecker
  • Method Details

    • isConfigOk

      Deprecated.
      Verifies that a PersistentQueryConfiguration is acceptable. This version is never called, except by the version taking allConfigurations.
      Parameters:
      configuration - the configuration to check
      errorList - if not null, a list of errors
      Returns:
      true if the configuration should be committed; false if there are errors (which should be in errorList)
      ApiNote:
      This should be removed sometime in 2Q 2018. It exists because some customers have custom persistent query types and we want to preserve backward compatibility for a release.
    • isConfigOk

      default boolean isConfigOk(Map<Long,PersistentQueryInfo> allConfigurations, PersistentQueryControllerConfiguration serverConfiguration, PersistentQueryConfiguration configuration, List<PersistentQueryConfiguration.ValidationFailure> errorList)
      Verifies that a PersistentQueryConfiguration is acceptable.
      Parameters:
      allConfigurations - the Map of serial numbers to configurations
      configuration - the configuration to check
      errorList - if not null, a list of errors
      Returns:
      true if the configuration should be committed; false if there are errors (which should be in errorList)