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
Constructors Constructor Description PropertiesFileConfiguration(String id, File propFile)PropertiesFileConfiguration(String id, Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()PropertiesgetProperties()protected voidloadProperties()protected voidsetPropFile(File propFile)voidupdate(Properties newProperties)20140121/PM - Updated to back up original file with timestamp for historical rollback purposes
-
-
-
Constructor Detail
-
PropertiesFileConfiguration
public PropertiesFileConfiguration(String id, Properties properties)
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.pentaho.platform.api.engine.IConfiguration
-
getProperties
public Properties getProperties() throws IOException
- Specified by:
getPropertiesin interfaceorg.pentaho.platform.api.engine.IConfiguration- Throws:
IOException
-
loadProperties
protected void loadProperties() throws IOException- Throws:
IOException
-
update
public void update(Properties newProperties) throws IOException
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
protected void setPropFile(File propFile)
-
-