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.IConfigurationpublic Properties getProperties() throws IOException
getProperties in interface org.pentaho.platform.api.engine.IConfigurationIOExceptionprotected void loadProperties()
throws IOException
IOExceptionpublic void update(Properties newProperties) throws IOException
update in interface org.pentaho.platform.api.engine.IConfigurationnewProperties - IOExceptionprotected void setPropFile(File propFile)
Copyright © 2021 Hitachi Vantara. All rights reserved.