public class SimpleFlexConfigGenerator extends Object implements SyntaxErrorNotifiable, ConfigGenerator
| Constructor and Description |
|---|
SimpleFlexConfigGenerator(File mainconfig)
Creates a new instance of SimpleFlexConfigGenerator
|
| Modifier and Type | Method and Description |
|---|---|
List<DomainConfig> |
domainConfigs()
Returns an array of DomainConfig-Objects who are used to configure SimpleFlex
|
GlobalConfig |
globalConfig()
Returns a filled ClobalConfig that is used to configure SimpleFlex
|
void |
syntaxError(String message,
boolean fatal)
Implementation of the SyntaxErrorNotifiable-interface.
|
public SimpleFlexConfigGenerator(File mainconfig)
mainconfig - The file that holds the main configurationpublic GlobalConfig globalConfig()
globalConfig in interface ConfigGeneratorpublic List<DomainConfig> domainConfigs()
domainConfigs in interface ConfigGeneratorpublic void syntaxError(String message, boolean fatal)
syntaxError in interface SyntaxErrorNotifiablemessage - description if the syntac errorfatal - quits the application if it is true.Copyright © 2020 Software Atelier Kamber. All rights reserved.