private List < File > getConfigFiles ( ) { String [ ] filenames = { "opencms-modules.xml" , "opencms-system.xml" , "opencms-vfs.xml" , "opencms-importexport.xml" , "opencms-sites.xml" , "opencms-variables.xml" , "opencms-scheduler.xml" , "opencms-workplace.xml" , "opencms-search.xml" } ; List < File > result = new ArrayList <> ( ) ; for ( String fn : filenames ) { File file = new File ( m_configDir , fn ) ; if ( file . exists ( ) ) { result . add ( file ) ; } } return result ; }
Gets existing config files .