public static boolean isRuleInvalid(Rule rule) {
        return StringUtils.isEmpty(rule.getRuleId()) ||
                StringUtils.isEmpty(rule.getApplicationName()) ||
                StringUtils.isEmpty(rule.getCheckerName()) ||
                StringUtils.isEmpty(rule.getUserGroupId()) ||
                rule.getThreshold() == null;
    }
@deprecated Since 3.1.0. Use {@link #getApplicationName()} instead
web/src/main/java/com/navercorp/pinpoint/web/alarm/vo/Rule.java