Class HostLearningConfig


  • public class HostLearningConfig
    extends Config<ConnectPoint>
    Configuration for enabling/disabling host learning.
    • Constructor Detail

      • HostLearningConfig

        public HostLearningConfig()
    • Method Detail

      • isValid

        public boolean isValid()
        Description copied from class: Config
        Indicates whether or not the backing JSON node contains valid data.

        Default implementation returns true. Subclasses are expected to override this with their own validation. Implementations are free to throw a RuntimeException if data is invalid.

        Overrides:
        isValid in class Config<ConnectPoint>
        Returns:
        true if the data is valid; false otherwise
      • hostLearningEnabled

        public Boolean hostLearningEnabled()
      • setEnabled

        public void setEnabled​(String boolString)