Interface IConfiguration
- All Known Subinterfaces:
IWinConfiguration
public interface IConfiguration
This interface represents the generic configuration that's used and implemented by various protocol configurations like
HttpConfiguration, IpmiConfiguration, etc ...
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateConfiguration(String resourceKey) Validates the current configuration for the given configured resource key.
-
Method Details
-
validateConfiguration
Validates the current configuration for the given configured resource key. This method ensures that the configuration meets all required criteria. Criteria may include checking for necessary fields, verifying values against allowed ranges or formats, and ensuring compatibility with the resource's requirements.- Parameters:
resourceKey- AStringrepresenting the unique identifier for the resource used for logging purpose.- Throws:
InvalidConfigurationException- if the provided configuration does not meet the necessary criteria.
-