Package org.xmatthew.spy2servers.rule

Examples of org.xmatthew.spy2servers.rule.SimpleAlertRule


   
   

    private void getAlertRuleHtmlView(AlertRule alertRule, StringBuffer sbuff) {
    if (alertRule instanceof SimpleAlertRule) {
      SimpleAlertRule simpleAlertRule = (SimpleAlertRule) alertRule;
     
      sbuff.append("<b>Components alert rule:<b><br>");
      Map<String, Set<String>> channelRules = simpleAlertRule.getChannelRules();
      if (CollectionUtils.isBlankMap(channelRules)) {
        return;
      }
     
      sbuff.append("<table border='1' >");
View Full Code Here


    }
  }
 
  @SuppressWarnings("unchecked")
    protected AlertRule parseSimpleAlertRule(Element element) {
    SimpleAlertRule alertRule = new SimpleAlertRule();
    alertRule.setChannles(parseChannels(element, alertRule));
    return alertRule;
  }
View Full Code Here

TOP

Related Classes of org.xmatthew.spy2servers.rule.SimpleAlertRule

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.