@Test public void testFlushDriverRefreshEnabled() throws Exception { presenter.editor = editor; when( refreshEditor.isRefreshEnabled() ).thenReturn( true ); presenter.afterFlush(); verify( dataSetDef, times( 0 ) ).setRefreshTime( null ); }
@Override protected void afterFlush() { super.afterFlush(); if ( !getEditor().refreshEditor().isRefreshEnabled() ) { dataSetDef.setRefreshTime( null ); } }
DataSetEditWorkflow extends DataSetEditorWorkflow<T> { @Override protected void afterFlush() { super.afterFlush(); if ( !getEditor().refreshEditor().isRefreshEnabled() ) { dataSetDef.setRefreshTime( null ); } } }
DataSetEditWorkflow extends DataSetEditorWorkflow<T> { @Override protected void afterFlush() { super.afterFlush(); if ( !getEditor().refreshEditor().isRefreshEnabled() ) { dataSetDef.setRefreshTime( null ); } } @Inject  DataSetEditWorkflow( final DataSetClientServices clientServices,
                                final DataSetValidatorProvider validatorProvider,
                                final SyncBeanManager beanManager,
                                final Event<SaveRequestEvent> saveRequestEvent,
                                final Event<TestDataSetRequestEvent> testDataSetEvent,
                                final Event<CancelRequestEvent> cancelRequestEvent,
                                final View view ); }
DataSetEditWorkflow extends DataSetEditorWorkflow<T> { @Override protected void afterFlush() { super.afterFlush(); if ( !getEditor().refreshEditor().isRefreshEnabled() ) { dataSetDef.setRefreshTime( null ); } } @Inject  DataSetEditWorkflow( final DataSetClientServices clientServices,
                                final DataSetValidatorProvider validatorProvider,
                                final SyncBeanManager beanManager,
                                final Event<SaveRequestEvent> saveRequestEvent,
                                final Event<TestDataSetRequestEvent> testDataSetEvent,
                                final Event<CancelRequestEvent> cancelRequestEvent,
                                final View view ); @PostConstruct void init(); DataSetEditWorkflow edit( final T definition, List<DataColumnDef> allColumns ); @Override void dispose(); E getEditor(); DataSetEditorWorkflow showConfigurationTab(); DataSetEditorWorkflow showPreviewTab(); DataSetEditorWorkflow showAdvancedTab(); }
DataSetEditWorkflow extends DataSetEditorWorkflow<T> { @Override protected void afterFlush() { super.afterFlush(); if ( !getEditor().refreshEditor().isRefreshEnabled() ) { dataSetDef.setRefreshTime( null ); } } @Inject  DataSetEditWorkflow( final DataSetClientServices clientServices,
                                final DataSetValidatorProvider validatorProvider,
                                final SyncBeanManager beanManager,
                                final Event<SaveRequestEvent> saveRequestEvent,
                                final Event<TestDataSetRequestEvent> testDataSetEvent,
                                final Event<CancelRequestEvent> cancelRequestEvent,
                                final View view ); @PostConstruct void init(); DataSetEditWorkflow edit( final T definition, List<DataColumnDef> allColumns ); @Override void dispose(); E getEditor(); DataSetEditorWorkflow showConfigurationTab(); DataSetEditorWorkflow showPreviewTab(); DataSetEditorWorkflow showAdvancedTab();  }