@Test public void testGetConfigHome() throws Exception { AppConfiguration config = factory.create(new HashMap<String, String>() {{ put(AppConfiguration.PROPERTY_APP_HOME, confHome.toString()); }}); assertNotNull(config); assertEquals(confHome, config.getConfigHome()); assertNull(config.getConfiguration().getString(TEST_PROPERTY_NAME)); assertEquals(confHome.toString(), config.getConfiguration().getString(AppConfiguration.PROPERTY_APP_HOME)); }
public File getConfigHome() { return configHome; }
AppConfiguration { public File getConfigHome() { return configHome; } }
AppConfiguration { public File getConfigHome() { return configHome; } AppConfiguration(Map<String, String> environment); }
AppConfiguration { public File getConfigHome() { return configHome; } AppConfiguration(Map<String, String> environment); File getDefaultUsersHome(); String getFedoraUsername(); String getFedoraPassword(); String getFedoraUrl(); Catalogs getCatalogs(); File getConfigHome(); Profiles getProfiles(); Configuration getJobCofig(); ImportProfile getImportConfiguration(ConfigurationProfile cp); ImportProfile getImportConfiguration(); Kramerius4ExportOptions getKramerius4Export(); NdkExportOptions getNdkExportOptions(); SearchOptions getSearchOptions(); String getRules(); ExportOptions getExportOptions(); WorkflowOptions getWorkflowOptions(); Configuration getAuthenticators(); DesaServices getDesaServices(); UrnNbnConfiguration getUrnNbnConfiguration(); String[] getPlugins(); File getWorkflowConfiguration(); void copyConfigTemplate(File configHome); }
AppConfiguration { public File getConfigHome() { return configHome; } AppConfiguration(Map<String, String> environment); File getDefaultUsersHome(); String getFedoraUsername(); String getFedoraPassword(); String getFedoraUrl(); Catalogs getCatalogs(); File getConfigHome(); Profiles getProfiles(); Configuration getJobCofig(); ImportProfile getImportConfiguration(ConfigurationProfile cp); ImportProfile getImportConfiguration(); Kramerius4ExportOptions getKramerius4Export(); NdkExportOptions getNdkExportOptions(); SearchOptions getSearchOptions(); String getRules(); ExportOptions getExportOptions(); WorkflowOptions getWorkflowOptions(); Configuration getAuthenticators(); DesaServices getDesaServices(); UrnNbnConfiguration getUrnNbnConfiguration(); String[] getPlugins(); File getWorkflowConfiguration(); void copyConfigTemplate(File configHome); static final String PROPERTY_USER_HOME; static final String ENV_APP_HOME; static final String DEFAULT_APP_HOME_NAME; static final String CONFIG_FILE_NAME; static final String VERSION; static final String PROPERTY_APP_HOME; }