Class GeoIpResolverConfigValidator
java.lang.Object
org.graylog2.rest.resources.system.GeoIpResolverConfigValidator
- All Implemented Interfaces:
ClusterConfigValidator
A
ClusterConfigValidator to validate configuration objects of type GeoIpResolverConfig.-
Constructor Summary
ConstructorsConstructorDescriptionGeoIpResolverConfigValidator(GeoIpVendorResolverService geoIpVendorResolverService, S3GeoIpFileService s3GeoIpFileService, ClusterConfigService clusterConfigService) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvalidateGeoIpAsnResolver(GeoIpResolverConfig config, com.codahale.metrics.Timer timer) voidvalidateGeoIpLocationResolver(GeoIpResolverConfig config, com.codahale.metrics.Timer timer)
-
Constructor Details
-
GeoIpResolverConfigValidator
@Inject public GeoIpResolverConfigValidator(GeoIpVendorResolverService geoIpVendorResolverService, S3GeoIpFileService s3GeoIpFileService, ClusterConfigService clusterConfigService)
-
-
Method Details
-
validate
- Specified by:
validatein interfaceClusterConfigValidator- Throws:
ConfigValidationException
-
validateGeoIpAsnResolver
-
validateGeoIpLocationResolver
public void validateGeoIpLocationResolver(GeoIpResolverConfig config, com.codahale.metrics.Timer timer)
-