Package com.illumon.iris.pqimport
Class ValidateConfigChecker
java.lang.Object
com.illumon.iris.pqimport.ValidateConfigChecker
- All Implemented Interfaces:
ConfigChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isConfigOk
(Map<Long, PersistentQueryInfo> allConfigurations, PersistentQueryControllerConfiguration serverConfiguration, PersistentQueryConfiguration configuration, List<PersistentQueryConfiguration.ValidationFailure> errorList) Verifies that a PersistentQueryConfiguration is acceptable.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.controller.ConfigChecker
isConfigOk
-
Constructor Details
-
ValidateConfigChecker
public ValidateConfigChecker()
-
-
Method Details
-
isConfigOk
public boolean isConfigOk(Map<Long, PersistentQueryInfo> allConfigurations, PersistentQueryControllerConfiguration serverConfiguration, PersistentQueryConfiguration configuration, List<PersistentQueryConfiguration.ValidationFailure> errorList) Description copied from interface:ConfigChecker
Verifies that a PersistentQueryConfiguration is acceptable.- Specified by:
isConfigOk
in 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)
-