Package io.jenkins.plugins.util
Class GlobalConfigurationFacade
java.lang.Object
io.jenkins.plugins.util.GlobalConfigurationFacade
Facade to Jenkins
GlobalConfiguration
instance to prevent IO access during tests.- Author:
- Ullrich Hafner
-
Constructor Summary
ConstructorDescriptionGlobalConfigurationFacade
(GlobalConfiguration configuration) Creates a new facade to the specifiedGlobalConfiguration
. -
Method Summary
-
Constructor Details
-
GlobalConfigurationFacade
Creates a new facade to the specifiedGlobalConfiguration
.- 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.
-