blob: db226dfc28398ce542c5076d454664cdd9c7639e [file] [log] [blame]
package org.apache.karaf.webconsole.osgi.log.search;
import org.apache.karaf.webconsole.osgi.log.Options;
import org.osgi.service.log.LogEntry;
public class DateFromMatcher implements Matcher {
public boolean matches(LogEntry entry, Options options) {
if (options.getDateFrom() != null && options.getDateFrom() > 0) {
return entry.getTime() >= options.getDateFrom();
}
return true;
}
}