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 Type
    Method
    Description
    void
    Validates the current configuration for the given configured resource key.
  • Method Details

    • validateConfiguration

      void validateConfiguration(String resourceKey) throws InvalidConfigurationException
      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 - A String representing the unique identifier for the resource used for logging purpose.
      Throws:
      InvalidConfigurationException - if the provided configuration does not meet the necessary criteria.