@Override public void loadState(IdeaCurrencyConfig ideaCurrencyConfig) { XmlSerializerUtil.copyBean(ideaCurrencyConfig, this); for (String exchangeName : ideaCurrencyConfig.currencyPairByExchangeMap.keySet()) { String currencyPairs = currencyPairByExchangeMap.get(exchangeName); String[] split = currencyPairs.split(","); Set<CurrencyPair> currencyPairSet = Lists.newArrayList(split).stream().map(CurrencyPair::new).collect(Collectors.toSet()); selectedExchangeCurrencyPairs.add(new SelectedExchangeCurrencyPair(exchangeName, currencyPairSet)); } checkAndOptimizeReloadInterval(ideaCurrencyConfig.getReloadInterval()); }
@Override public void loadState(SettingManager formatSetting) { XmlSerializerUtil.copyBean(formatSetting, this); if (templates != null && templates.getRoots().size() == 0) { templates.setRoots(Defaults.getDefaultTemplates()); } if (variables != null && StringUtils.isBlank(variables.getIgnoreFields())) { variables.setIgnoreFields("id,created_at,updated_at"); } }
@Override public void loadState(PersistProfileComponent state) { XmlSerializerUtil.copyBean(state, this); // Prevent loading a null map if (userStatMap == null) { userStatMap = new HashMap<>(); } }
@Override @NotNull public JpsJavaCompilerOptions getState() { JpsJavaCompilerOptions state = new JpsJavaCompilerOptions(); XmlSerializerUtil.copyBean(mySettings, state); state.ADDITIONAL_OPTIONS_STRING = PathMacroManager.getInstance(myProject).collapsePathsRecursively(state.ADDITIONAL_OPTIONS_STRING); return state; }
@Override public void apply() throws ConfigurationException { boolean uncheckedApply = myConfigurable.isModified(); myConfigurable.apply(); XmlSerializerUtil.copyBean(myInnerServer.getConfiguration(), myServer.getConfiguration()); myNew = false; myUncheckedApply = uncheckedApply; myInnerApplied = false; }
@Override public HttpConfigurable getState() { CommonProxy.isInstalledAssertion(); HttpConfigurable state = new HttpConfigurable(); XmlSerializerUtil.copyBean(this, state); if (!KEEP_PROXY_PASSWORD) { state.PROXY_PASSWORD_CRYPT = null; } correctPasswords(state); return state; }
@Override public void loadState(@NotNull HttpConfigurable state) { XmlSerializerUtil.copyBean(state, this); if (!KEEP_PROXY_PASSWORD) { PROXY_PASSWORD_CRYPT = null; } correctPasswords(this); }
public void loadState(Config config) { XmlSerializerUtil.copyBean(config, myConfig); myTasks.clear(); for (LocalTaskImpl task : config.tasks) { addTask(task); } myRepositories.clear(); Element element = config.servers; List<TaskRepository> repositories = loadRepositories(element); myRepositories.addAll(repositories); }
@Override public void loadState(Yii2SupportSettings applicationService) { XmlSerializerUtil.copyBean(applicationService, this); }
@Override public void loadState(CodeMakerSettings codeMakerSettings) { XmlSerializerUtil.copyBean(codeMakerSettings, this); }
@Override public void loadState(RNConsoleConfiguration freelineConfiguration) { XmlSerializerUtil.copyBean(freelineConfiguration, this); }
@Override public void loadState(HighlighterSettingsConfig state) { XmlSerializerUtil.copyBean(state, this); }
public void loadState(SourcetrailOptions state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(Config gherkinConfig) { XmlSerializerUtil.copyBean(gherkinConfig, this); }
@Override public void loadState(PluginDataConfig pluginDataConfig) { XmlSerializerUtil.copyBean(pluginDataConfig, this); }
@Override public void loadState(Settings settings) { XmlSerializerUtil.copyBean(settings, this); }
@Override public void loadState(final ArraySettings state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(final @NotNull IntegerSettings state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(final @NotNull StringSettings state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(final DecimalSettings state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(final @NotNull WordSettings state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(State state) { XmlSerializerUtil.copyBean(state, this.state); }
@Override public void loadState(ScanCache state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(GlobalSettings state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(TomcatInfoConfigs tomcatInfoConfigs) { XmlSerializerUtil.copyBean(tomcatInfoConfigs, this); }
@Override public void loadState(final HybrisApplicationSettings state) { XmlSerializerUtil.copyBean(state, this.hybrisApplicationSettings); }
@Override public void loadState(final HybrisProjectSettings state) { XmlSerializerUtil.copyBean(state, this.hybrisProjectSettings); }
public void loadState(KeyPromoterConfiguration state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(KeyPromoterSettings keyPromoterSettings) { XmlSerializerUtil.copyBean(keyPromoterSettings, this); }
@Override public void loadState(KeyPromoterStatistics stats) { XmlSerializerUtil.copyBean(stats, this); }
@Override public void loadState(StudySettings state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(SettingsBean settingsBean) { XmlSerializerUtil.copyBean(settingsBean, this); }
@Override public void loadState(GravProjectSettings state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(GravPersistentStateComponent state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(ConnectorSettings connectorSettings) { XmlSerializerUtil.copyBean(connectorSettings, this); }
private JpsAppEngineModuleExtensionImpl(JpsAppEngineModuleExtensionImpl original) { myProperties = XmlSerializerUtil.createCopy(original.myProperties); }
public void loadState(LuaProjectSettings state) { XmlSerializerUtil.copyBean(state, this); }
@Override public void loadState(CupSettings state) { XmlSerializerUtil.copyBean(state, this); }