private void checkInputChannel(AcInputChannel channel) { JwTimestamp end = _now.getCopy(); JwTimestamp start = end.getCopy(); start.subtractMinutes(channel.getMonitorMinutes()); JwList<AcReceivedFileRollup> v = getRollupData(channel, start, end); if (noCarditReceived(v) && noActiveAlertFor(channel)) { createAlert(channel); reportNoCarditProcessed(channel, start, end); } }
private JwTimestamp getAlertExpiration() { JwTimestamp expires = _now.getCopy(); expires.addMinutes(_alertExpirationMinutes); return expires; }