Search in sources :

Example 1 with UpgradeState

use of com.serotonin.m2m2.module.ModuleNotificationListener.UpgradeState in project ma-modules-public by infiniteautomation.

the class ModulesWebSocketHandler method upgradeStateChanged.

/* (non-Javadoc)
	 * @see com.serotonin.m2m2.module.ModuleNotificationListener#upgradeStateChanged(java.lang.String)
	 */
@Override
public void upgradeStateChanged(UpgradeState stage) {
    ModuleNotificationModel model = new ModuleNotificationModel(ModuleNotificationTypeEnum.UPGRADE_STATE_CHANGE, stage);
    notify(model);
}
Also used : ModuleNotificationModel(com.serotonin.m2m2.web.mvc.rest.v1.model.modules.ModuleNotificationModel)

Aggregations

ModuleNotificationModel (com.serotonin.m2m2.web.mvc.rest.v1.model.modules.ModuleNotificationModel)1