public class PropertiesModuleConfigRepository extends Object implements ModuleConfigRepository
Constructor and Description |
---|
PropertiesModuleConfigRepository(Path configDir) |
Modifier and Type | Method and Description |
---|---|
Optional<ModuleConfig> |
getModuleConfig(String name) |
boolean |
moduleExists(String name) |
static void |
writeXml(Path configDir,
Path xmlFile) |
public PropertiesModuleConfigRepository(Path configDir)
public boolean moduleExists(String name)
moduleExists
in interface ModuleConfigRepository
public Optional<ModuleConfig> getModuleConfig(String name)
getModuleConfig
in interface ModuleConfigRepository
public static void writeXml(Path configDir, Path xmlFile) throws IOException, XMLStreamException
IOException
XMLStreamException
Copyright © 2020. All rights reserved.