Package tigase.db.beans
Class DataSourceBean.DataSourceChangedEvent
java.lang.Object
tigase.db.beans.DataSourceBean.DataSourceChangedEvent
- All Implemented Interfaces:
EventBusEvent
- Enclosing class:
- DataSourceBean
-
Constructor Summary
ConstructorDescriptionDataSourceChangedEvent
(DataSourceBean bean, String domain, DataSource newDataSource, DataSource oldDataSource) -
Method Summary
Modifier and TypeMethodDescriptionGet name for which data source instance was changedGet new instance of data sourceGet old instance of data sourceboolean
Check if event was emitted by provided instance ofDataSourceBean
-
Constructor Details
-
DataSourceChangedEvent
public DataSourceChangedEvent(DataSourceBean bean, String domain, DataSource newDataSource, DataSource oldDataSource)
-
-
Method Details
-
isCorrectSender
Check if event was emitted by provided instance ofDataSourceBean
-
getDomain
Get name for which data source instance was changed -
getOldDataSource
Get old instance of data source -
getNewDataSource
Get new instance of data source
-