Package org.pentaho.platform.config
Class PropertiesFileConfiguration
java.lang.Object
org.pentaho.platform.config.PropertiesFileConfiguration
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IConfiguration
- Direct Known Subclasses:
SolutionPropertiesFileConfiguration
public class PropertiesFileConfiguration
extends Object
implements org.pentaho.platform.api.engine.IConfiguration
User: nbaker Date: 4/2/13
-
Constructor Summary
ConstructorDescriptionPropertiesFileConfiguration
(String id, File propFile) PropertiesFileConfiguration
(String id, Properties properties) -
Method Summary
Modifier and TypeMethodDescriptiongetId()
protected void
protected void
setPropFile
(File propFile) void
update
(Properties newProperties) 20140121/PM - Updated to back up original file with timestamp for historical rollback purposes
-
Constructor Details
-
PropertiesFileConfiguration
-
PropertiesFileConfiguration
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceorg.pentaho.platform.api.engine.IConfiguration
-
getProperties
- Specified by:
getProperties
in interfaceorg.pentaho.platform.api.engine.IConfiguration
- Throws:
IOException
-
loadProperties
- Throws:
IOException
-
update
20140121/PM - Updated to back up original file with timestamp for historical rollback purposes- Specified by:
update
in interfaceorg.pentaho.platform.api.engine.IConfiguration
- Parameters:
newProperties
-- Throws:
IOException
-
setPropFile
-