Class FileEventObject

java.lang.Object
com.ibm.java.diagnostics.healthcenter.api.io.impl.FileEventObject
All Implemented Interfaces:
BaseEvent, FileEvent

public class FileEventObject extends Object implements FileEvent
  • Constructor Details

    • FileEventObject

      public FileEventObject(long eventTime, String fileName, int eventType)
  • Method Details

    • getEventTime

      public long getEventTime()
      Specified by:
      getEventTime in interface BaseEvent
      Returns:
      the time the event took place in milliseconds since epoch
    • getFileName

      public String getFileName()
      Specified by:
      getFileName in interface FileEvent
      Returns:
      The name of the file triggering the event
    • getEventType

      public int getEventType()
      Specified by:
      getEventType in interface FileEvent
      Returns:
      An int representing the type of the event 0 - File was opened 1 - File was closed