Class 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 Detail

      • PropertiesFileConfiguration

        public PropertiesFileConfiguration​(String id,
                                           Properties properties)
      • PropertiesFileConfiguration

        public PropertiesFileConfiguration​(String id,
                                           File propFile)
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface org.pentaho.platform.api.engine.IConfiguration
      • getProperties

        public Properties getProperties()
                                 throws IOException
        Specified by:
        getProperties in interface org.pentaho.platform.api.engine.IConfiguration
        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 interface org.pentaho.platform.api.engine.IConfiguration
        Parameters:
        newProperties -
        Throws:
        IOException
      • setPropFile

        protected void setPropFile​(File propFile)