public class PropertiesFileConfiguration extends Object implements org.pentaho.platform.api.engine.IConfiguration
Constructor and Description |
---|
PropertiesFileConfiguration(String id,
File propFile) |
PropertiesFileConfiguration(String id,
Properties properties) |
Modifier and Type | Method and 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
|
public PropertiesFileConfiguration(String id, Properties properties)
public String getId()
getId
in interface org.pentaho.platform.api.engine.IConfiguration
public Properties getProperties() throws IOException
getProperties
in interface org.pentaho.platform.api.engine.IConfiguration
IOException
protected void loadProperties() throws IOException
IOException
public void update(Properties newProperties) throws IOException
update
in interface org.pentaho.platform.api.engine.IConfiguration
newProperties
- IOException
protected void setPropFile(File propFile)
Copyright © 2021 Hitachi Vantara. All rights reserved.