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
ConstructorsConstructorDescriptionPropertiesFileConfiguration(String id, File propFile) PropertiesFileConfiguration(String id, Properties properties) -
Method Summary
Modifier and TypeMethodDescriptiongetId()protected voidprotected voidsetPropFile(File propFile) voidupdate(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:
getIdin interfaceorg.pentaho.platform.api.engine.IConfiguration
-
getProperties
- Specified by:
getPropertiesin 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:
updatein interfaceorg.pentaho.platform.api.engine.IConfiguration- Parameters:
newProperties-- Throws:
IOException
-
setPropFile
-