public AbstractPlatformConfiguration() { starterconfig = new StarterConfiguration(); rootconfig = new RootComponentConfiguration(); }
/** * Constructor that creates a new Configuration based on an args object. * (which can be a Map or a String array). * Does not parse the args - no public use! * @param args */ protected AbstractPlatformConfiguration(String[] args) { starterconfig = new StarterConfiguration(); rootconfig = new RootComponentConfiguration(); rootconfig.setProgramArguments(args); }
/** * Copy constructor. * @param config AbstractPlatformConfiguration */ public AbstractPlatformConfiguration(AbstractPlatformConfiguration config) { this.starterconfig = new StarterConfiguration(config.getStarterConfig()); this.rootconfig = new RootComponentConfiguration(config.getRootConfig()); }