Class ConfigurationOverridesHandler

java.lang.Object
org.jppf.utils.configuration.ConfigurationOverridesHandler

public class ConfigurationOverridesHandler extends Object
This class handles the loading and saving of temporary configuration overrides files.
Author:
Laurent Cohen
  • Constructor Details

    • ConfigurationOverridesHandler

      public ConfigurationOverridesHandler()
    • ConfigurationOverridesHandler

      public ConfigurationOverridesHandler(TypedProperties config)
      Parameters:
      config - the node configuration.
  • Method Details

    • save

      public void save(TypedProperties overrides)
      Save the configuration overrides file.
      Parameters:
      overrides - the config overrides to save.
    • load

      public TypedProperties load(boolean delete)
      Load the config overrides file. If the file exists, it is deleted after it is loaded.
      Parameters:
      delete - whether to delete the config overrides file after loading.
      Returns:
      the overrides as a TypedProperties instance.