Interface ZonesConfig

All Known Implementing Classes:
AbstractZonesConfig, AnyZonesConfig, AtLeastOneZoneConfig, ExactZonesConfig, RequiredZonesConfig

public interface ZonesConfig
Since:
9.1.0
Author:
elip
  • Method Details

    • getProperties

      Map<String,String> getProperties()
      Returns:
      the internal key/value string representation
    • validate

      void validate() throws IllegalStateException
      Checks the content of this config is valid.
      Throws:
      IllegalStateException - - if state is found to be illegal
    • getZones

      Set<String> getZones()
      returns the zones attached to this config.
    • setZones

      void setZones(Set<String> zones)
      Parameters:
      zones - A unique list of labels(tags) that represent different zones
    • isSatisfiedBy

      boolean isSatisfiedBy(ExactZonesConfig zoneStatisticsConfig)
      Returns:
      true iff the specified zones satisfies or equals this zones requirement