Package com.illumon.iris.pqimport
Class MergeConfigChecker
java.lang.Object
com.illumon.iris.pqimport.MergeConfigChecker
- All Implemented Interfaces:
ConfigChecker
public class MergeConfigChecker extends Object implements ConfigChecker
-
Constructor Summary
Constructors Constructor Description MergeConfigChecker() -
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
-
MergeConfigChecker
public MergeConfigChecker()
-
-
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)
-