Package org.jppf.utils.configuration
Class ConfigurationOverridesHandler
java.lang.Object
org.jppf.utils.configuration.ConfigurationOverridesHandler
This class handles the loading and saving of temporary configuration overrides files.
- Author:
- Laurent Cohen
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionload(boolean delete) Load the config overrides file.voidsave(TypedProperties overrides) Save the configuration overrides file.
-
Constructor Details
-
ConfigurationOverridesHandler
public ConfigurationOverridesHandler() -
ConfigurationOverridesHandler
- Parameters:
config- the node configuration.
-
-
Method Details
-
save
Save the configuration overrides file.- Parameters:
overrides- the config overrides to save.
-
load
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
TypedPropertiesinstance.
-