Class GlobalConfigurationFacade


  • public class GlobalConfigurationFacade
    extends Object
    Facade to Jenkins GlobalConfiguration instance to prevent IO access during tests.
    Author:
    Ullrich Hafner
    • Constructor Detail

      • GlobalConfigurationFacade

        public GlobalConfigurationFacade​(GlobalConfiguration configuration)
        Creates a new facade to the specified GlobalConfiguration.
        Parameters:
        configuration - the global configuration instance
    • Method Detail

      • load

        public void load()
        Loads the data from the disk into this object.
      • save

        public void save()
        Saves the configuration info to the disk.