Example #1
0
 /**
  * CAUTION: Decompiled by hand.
  *
  * @param subgroup
  */
 private static void addSubGroup(SubGroup subgroup) {
   if (groupIDsInHealth.contains(subgroup.getProperty("_group"))) {
     return;
   }
   groupIDsInHealth.add(subgroup.getProperty("_group"));
   MonitorGroup monitorgroup = subgroup.lookupGroup();
   Enumeration enumeration = monitorgroup.getElements();
   while (enumeration.hasMoreElements()) {
     SiteViewObject siteviewobject = (SiteViewObject) enumeration.nextElement();
     if (siteviewobject instanceof SubGroup) {
       SubGroup subgroup1 = (SubGroup) siteviewobject;
       addSubGroup(subgroup1);
     }
   }
 }
Example #2
0
 /** CAUTION: Decompiled by hand. */
 public static void loadHealthGroupList() {
   synchronized (groupIDsInHealth) {
     groupIDsInHealth.clear();
     SiteViewGroup siteviewgroup = SiteViewGroup.currentSiteView();
     MonitorGroup monitorgroup = (MonitorGroup) siteviewgroup.getElementByID("__Health__");
     if (monitorgroup == null) {
       createHealthGroupList("__Health__");
     } else {
       groupIDsInHealth.add(monitorgroup.getProperty(SiteViewObject.pID));
       Enumeration enumeration = monitorgroup.getElements();
       while (enumeration.hasMoreElements()) {
         SiteViewObject siteviewobject = (SiteViewObject) enumeration.nextElement();
         if (siteviewobject instanceof SubGroup) {
           addSubGroup((SubGroup) siteviewobject);
         }
       }
     }
   }
 }