Package com.illumon.iris.controller
Interface ConfigChecker
- All Known Implementing Classes:
BaseImportConfigChecker
,BinaryImportConfigChecker
,CsvImportConfigChecker
,DownsampleImportConfigChecker
,InWorkerServiceConfigChecker
,JdbcImportConfigChecker
,MergeConfigChecker
,ReplayConfigChecker
,ScriptConfigChecker
,ValidateConfigChecker
,XmlImportConfigChecker
public interface ConfigChecker
-
Method Summary
Modifier and Type Method Description default boolean
isConfigOk(PersistentQueryControllerConfiguration serverConfiguration, PersistentQueryConfiguration configuration, List<PersistentQueryConfiguration.ValidationFailure> errorList)
Deprecated.default boolean
isConfigOk(Map<Long,PersistentQueryInfo> allConfigurations, PersistentQueryControllerConfiguration serverConfiguration, PersistentQueryConfiguration configuration, List<PersistentQueryConfiguration.ValidationFailure> errorList)
Verifies that a PersistentQueryConfiguration is acceptable.
-
Method Details
-
isConfigOk
@Deprecated default boolean isConfigOk(PersistentQueryControllerConfiguration serverConfiguration, PersistentQueryConfiguration configuration, List<PersistentQueryConfiguration.ValidationFailure> errorList)Deprecated.Verifies that a PersistentQueryConfiguration is acceptable. This version is never called, except by the version taking allConfigurations.- Parameters:
configuration
- the configuration to checkerrorList
- 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 configurationsconfiguration
- the configuration to checkerrorList
- 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)
-