Examples of AlertSeverityNode


Examples of com.subgraph.vega.ui.scanner.alerts.tree.AlertSeverityNode

    if ((e1 instanceof AlertScanNode) && (e2 instanceof AlertScanNode)) {
      return compareAlertNodes((AlertScanNode) e1, (AlertScanNode) e2);
    } else if ((e1 instanceof AlertSeverityNode)
        && (e2 instanceof AlertSeverityNode)) {
      final AlertSeverityNode asn1 = (AlertSeverityNode) e1;
      final AlertSeverityNode asn2 = (AlertSeverityNode) e2;
      return asn2.getSeverityIndex() - asn1.getSeverityIndex();

    } else {
      return super.compare(viewer, e1, e2);
    }
  }
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.