Example #1
0
 /** Restart scheduler if some binding changes. */
 @Override
 public void bindingChanged(BindingProvider provider, String itemName) {
   if (context.getConfig().isValid()) {
     if (provider instanceof WeatherBindingProvider) {
       context.getJobScheduler().restart();
     }
   }
   super.bindingChanged(provider, itemName);
 }
Example #2
0
 /** {@inheritDoc} */
 public void bindingChanged(BindingProvider provider, String itemName) {
   super.bindingChanged(provider, itemName);
 }