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 String
getId()
Properties
getProperties()
protected void
loadProperties()
protected void
setPropFile(File propFile)
void
update(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:
getId
in interfaceorg.pentaho.platform.api.engine.IConfiguration
-
getProperties
public Properties getProperties() throws IOException
- Specified by:
getProperties
in 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:
update
in interfaceorg.pentaho.platform.api.engine.IConfiguration
- Parameters:
newProperties
-- Throws:
IOException
-
setPropFile
protected void setPropFile(File propFile)
-
-