Interface XEventClassifier

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void accept​(XVisitor visior, XLog log)
      Runs the given visitor for the given log on this classifier.
      java.lang.String getClassIdentity​(XEvent event)
      Retrieves the unique class identity string of a given event.
      java.lang.String[] getDefiningAttributeKeys()
      Retrieves the set of attribute keys which are used in this event classifier (May be used for the construction of events that are not part of an existing event class).
      java.lang.String name()
      Returns the name of this comparator
      boolean sameEventClass​(XEvent eventA, XEvent eventB)
      Checks whether two event instances correspond to the same event class, i.e.
      void setName​(java.lang.String name)
      Assigns a custom name to this classifier
    • Method Detail

      • name

        java.lang.String name()
        Returns the name of this comparator
      • setName

        void setName​(java.lang.String name)
        Assigns a custom name to this classifier
        Parameters:
        name - Name to be assigned to this classifier.
      • sameEventClass

        boolean sameEventClass​(XEvent eventA,
                               XEvent eventB)
        Checks whether two event instances correspond to the same event class, i.e. are equal in that sense.
      • getClassIdentity

        java.lang.String getClassIdentity​(XEvent event)
        Retrieves the unique class identity string of a given event.
      • getDefiningAttributeKeys

        java.lang.String[] getDefiningAttributeKeys()
        Retrieves the set of attribute keys which are used in this event classifier (May be used for the construction of events that are not part of an existing event class).
        Returns:
        A set of attribute keys, which are used for defining this classifier.
      • accept

        void accept​(XVisitor visior,
                    XLog log)
        Runs the given visitor for the given log on this classifier.