@Test public void syncDmnFilePath() { settingsPresenterSpy.syncDmnFilePath(); verify(settingsSpy, times(1)).setDmnFilePath(eq(DMN_FILE_PATH)); }
@Override public void syncDmnFilePath() { String value = settingsScenarioSimulationDropdown.getValue().map(KieAssetsDropdownItem::getValue).orElse(""); settings.setDmnFilePath(getCleanValue(() -> value)); }
SettingsPresenter extends AbstractSubDockPresenter<SettingsView> implements SettingsView.Presenter { @Override public void syncDmnFilePath() { String value = settingsScenarioSimulationDropdown.getValue().map(KieAssetsDropdownItem::getValue).orElse(""); settings.setDmnFilePath(getCleanValue(() -> value)); } }
SettingsPresenter extends AbstractSubDockPresenter<SettingsView> implements SettingsView.Presenter { @Override public void syncDmnFilePath() { String value = settingsScenarioSimulationDropdown.getValue().map(KieAssetsDropdownItem::getValue).orElse(""); settings.setDmnFilePath(getCleanValue(() -> value)); } SettingsPresenter(); @Inject  SettingsPresenter(@Named(SettingsScenarioSimulationDropdown.BEAN_NAME) SettingsScenarioSimulationDropdown settingsScenarioSimulationDropdown,
                             SettingsView view); }
SettingsPresenter extends AbstractSubDockPresenter<SettingsView> implements SettingsView.Presenter { @Override public void syncDmnFilePath() { String value = settingsScenarioSimulationDropdown.getValue().map(KieAssetsDropdownItem::getValue).orElse(""); settings.setDmnFilePath(getCleanValue(() -> value)); } SettingsPresenter(); @Inject  SettingsPresenter(@Named(SettingsScenarioSimulationDropdown.BEAN_NAME) SettingsScenarioSimulationDropdown settingsScenarioSimulationDropdown,
                             SettingsView view); @PostConstruct void init(); @Override void setScenarioType(ScenarioSimulationModel.Type scenarioType, Settings settings, String fileName); @Override void reset(); @Override void setEventBus(EventBus eventBus); SettingsView getView(); @Override void syncDmoSession(); @Override void syncRuleFlowGroup(); @Override void syncStateless(); @Override void syncDmnFilePath(); @Override void syncSkipFromBuild(); }
SettingsPresenter extends AbstractSubDockPresenter<SettingsView> implements SettingsView.Presenter { @Override public void syncDmnFilePath() { String value = settingsScenarioSimulationDropdown.getValue().map(KieAssetsDropdownItem::getValue).orElse(""); settings.setDmnFilePath(getCleanValue(() -> value)); } SettingsPresenter(); @Inject  SettingsPresenter(@Named(SettingsScenarioSimulationDropdown.BEAN_NAME) SettingsScenarioSimulationDropdown settingsScenarioSimulationDropdown,
                             SettingsView view); @PostConstruct void init(); @Override void setScenarioType(ScenarioSimulationModel.Type scenarioType, Settings settings, String fileName); @Override void reset(); @Override void setEventBus(EventBus eventBus); SettingsView getView(); @Override void syncDmoSession(); @Override void syncRuleFlowGroup(); @Override void syncStateless(); @Override void syncDmnFilePath(); @Override void syncSkipFromBuild(); static final int DEFAULT_PREFERRED_WIDHT; static final String IDENTIFIER; }