Package com.dianping.cat.home.alert.config.entity

Examples of com.dianping.cat.home.alert.config.entity.AlertConfig


    try {
      if (StringUtils.isEmpty(allOnOrOff)) {
        return originXml;
      }
     
      AlertConfig tmpConfig = DefaultSaxParser.parse(originXml);

      if (allOnOrOff.equals("on")) {
        turnOnOrOffConfig(tmpConfig, true);
      } else if (allOnOrOff.equals("off")) {
        turnOnOrOffConfig(tmpConfig, false);
      }
     
      return tmpConfig.toString();
    } catch (Exception e) {
      Cat.logError(e);
      return null;
    }
   }
View Full Code Here


      }
    } catch (Exception e) {
      Cat.logError(e);
    }
    if (m_config == null) {
      m_config = new AlertConfig();
    }
  }
View Full Code Here

TOP

Related Classes of com.dianping.cat.home.alert.config.entity.AlertConfig

Copyright © 2018 www.massapicom. 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.