Class ConfigServerSettings


  • public final class ConfigServerSettings
    extends Object
    The settings of config server.
    • Constructor Detail

      • ConfigServerSettings

        public ConfigServerSettings()
    • Method Detail

      • gitProperty

        public ConfigServerGitProperty gitProperty()
        Get the gitProperty property: Property of git environment.
        Returns:
        the gitProperty value.
      • withGitProperty

        public ConfigServerSettings withGitProperty​(ConfigServerGitProperty gitProperty)
        Set the gitProperty property: Property of git environment.
        Parameters:
        gitProperty - the gitProperty value to set.
        Returns:
        the ConfigServerSettings object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.