Class RoutersConfig

    • Constructor Detail

      • RoutersConfig

        public RoutersConfig()
    • Method Detail

      • getRouters

        public java.util.Set<RoutersConfig.Router> getRouters()
        Gets the router configurations.
        Returns:
        set of router configurations
      • 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<ApplicationId>
        Returns:
        true if the data is valid; false otherwise