Package com.illumon.iris.pqimport
Class BaseImportConfigChecker
java.lang.Object
com.illumon.iris.pqimport.BaseImportConfigChecker
- All Implemented Interfaces:
ConfigChecker
- Direct Known Subclasses:
CsvImportConfigChecker,DownsampleImportConfigChecker,JdbcImportConfigChecker,XmlImportConfigChecker
public class BaseImportConfigChecker extends Object implements ConfigChecker
-
Constructor Summary
Constructors Constructor Description BaseImportConfigChecker() -
Method Summary
Modifier and Type Method Description booleanisConfigOk(Map<Long,PersistentQueryInfo> allConfigurations, PersistentQueryControllerConfiguration serverConfiguration, PersistentQueryConfiguration configuration, List<PersistentQueryConfiguration.ValidationFailure> errorList)Verifies that a PersistentQueryConfiguration is acceptable.
-
Constructor Details
-
BaseImportConfigChecker
public BaseImportConfigChecker()
-
-
Method Details
-
isConfigOk
public boolean isConfigOk(Map<Long,PersistentQueryInfo> allConfigurations, PersistentQueryControllerConfiguration serverConfiguration, PersistentQueryConfiguration configuration, List<PersistentQueryConfiguration.ValidationFailure> errorList)Description copied from interface:ConfigCheckerVerifies that a PersistentQueryConfiguration is acceptable.- Specified by:
isConfigOkin interfaceConfigChecker- 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)
-