Examples of updateProperties()


Examples of org.openhab.binding.dscalarm.internal.model.Keypad.updateProperties()

            zone.updateProperties(item, config, state, description);
          break;
        case KEYPAD:
          Keypad keypad = keypadMap.get(keypadId);
          if(keypad != null)
            keypad.updateProperties(item, config, state, description);
          break;
        default:
          logger.debug("updateDeviceProperties(): Item properties not updated.");
          break;
      }
View Full Code Here

Examples of org.openhab.binding.dscalarm.internal.model.Panel.updateProperties()

 
      switch (dscAlarmDeviceType) {
        case PANEL:
          Panel panel = panelMap.get(panelId);
          if(panel != null)
            panel.updateProperties(item, config, state, description);
          break;
        case PARTITION:
          partitionId = config.getPartitionId();
          Partition partition = partitionMap.get(partitionId);
          if(partition != null)
View Full Code Here

Examples of org.openhab.binding.dscalarm.internal.model.Partition.updateProperties()

          break;
        case PARTITION:
          partitionId = config.getPartitionId();
          Partition partition = partitionMap.get(partitionId);
          if(partition != null)
            partition.updateProperties(item, config, state, description);
          break;
        case ZONE:
          partitionId = config.getPartitionId();
          zoneId = config.getZoneId();
          Zone zone = zoneMap.get(zoneId);
View Full Code Here

Examples of org.openhab.binding.dscalarm.internal.model.Zone.updateProperties()

        case ZONE:
          partitionId = config.getPartitionId();
          zoneId = config.getZoneId();
          Zone zone = zoneMap.get(zoneId);
          if(zone != null)
            zone.updateProperties(item, config, state, description);
          break;
        case KEYPAD:
          Keypad keypad = keypadMap.get(keypadId);
          if(keypad != null)
            keypad.updateProperties(item, config, state, description);
View Full Code Here

Examples of org.sonar.core.properties.PropertiesDao.updateProperties()

  public void fix_default_profile_if_invalid() throws Exception {
    tester = new ServerTester().addXoo().addComponents(new SimpleProfileDefinition("one", true));
    tester.start();

    PropertiesDao propertiesDao = dbClient().propertiesDao();
    propertiesDao.updateProperties("sonar.profile.xoo", "one", "invalid");
    // -> properties are corrupted. Default profile "invalid" does not exist
    verifyProperty("sonar.profile.xoo", "invalid");

    tester.get(Platform.class).restart();
    // restart must resolve the pb
View Full Code Here

Examples of org.sonar.core.properties.PropertiesDao.updateProperties()

  public void do_not_reset_default_profile_if_still_valid() throws Exception {
    tester = new ServerTester().addXoo().addComponents(new SimpleProfileDefinition("one", true), new SimpleProfileDefinition("two", false));
    tester.start();

    PropertiesDao propertiesDao = dbClient().propertiesDao();
    propertiesDao.updateProperties("sonar.profile.xoo", "one", "two");
    verifyProperty("sonar.profile.xoo", "two");

    tester.get(Platform.class).restart();
    // restart must keep "two" as default profile, even if "one" is marked as it
    verifyProperty("sonar.profile.xoo", "two");
View Full Code Here

Examples of org.zkoss.ganttz.TaskComponent.updateProperties()

                .getMapper().findAssociatedBean(taskElement);
        task.firePropertyChangeForTaskDates();
        TaskComponent taskComponent = planner.getTaskComponentRelatedTo(task);
        if (taskComponent != null) {
            taskComponent.updateTooltipText();
            taskComponent.updateProperties();
            taskComponent.invalidate();
        }

        context.recalculatePosition(taskElement);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.