Package com.illumon.iris.pqimport
Class XmlImportConfigChecker
java.lang.Object
com.illumon.iris.pqimport.BaseImportConfigChecker
com.illumon.iris.pqimport.XmlImportConfigChecker
- All Implemented Interfaces:
ConfigChecker
public class XmlImportConfigChecker extends BaseImportConfigChecker
-
Constructor Summary
Constructors Constructor Description XmlImportConfigChecker()
-
Method Summary
Modifier and Type Method Description boolean
isConfigOk(Map<Long,PersistentQueryInfo> allConfigurations, PersistentQueryControllerConfiguration serverConfiguration, PersistentQueryConfiguration configuration, List<PersistentQueryConfiguration.ValidationFailure> errorList)
Verifies that a PersistentQueryConfiguration is acceptable.
-
Constructor Details
-
XmlImportConfigChecker
public XmlImportConfigChecker()
-
-
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
- Overrides:
isConfigOk
in classBaseImportConfigChecker
- 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)
-