Class GlobalConfigurationFacade

java.lang.Object
io.jenkins.plugins.util.GlobalConfigurationFacade

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

    • GlobalConfigurationFacade

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

    • load

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

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