Class EventLogFilter

java.lang.Object
edu.ucsb.nceas.metacat.EventLogFilter

public class EventLogFilter extends Object
This class represents a filter to prevent the events generated by some ip addresses and subjects to be logged into db
Author:
tao
  • Constructor Details

    • EventLogFilter

      public EventLogFilter()
      Default Construct
  • Method Details

    • filter

      public boolean filter(EventLogData logData)
      Determine if the given EventLogData object will be filtered out (not logging) or not.
      Parameters:
      logData - the EventLogData will be evaluated
      Returns:
      true if the event log data should be filtered out(not logging); otherwise false.