Class LogEventGroup

  • All Implemented Interfaces:

    
    public final class LogEventGroup
    
                        

    An abstraction to keep related events of the same type together. Corresponds to the LogEventGroup from the schema module. A group can either report state- or counter-events. Use a state group for information about the application state, e.g which libraries are configured, user's local environment, OS, JVM, etc. Use a counter group for information about users/internal actions.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getId() Name of the group.
      final Integer getVersion() Version is used to track changes in a group, you should increment the version when you change anything in the group (add/delete/change events or their fields).
      final Boolean getState()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getId

         final String getId()

        Name of the group. It should be a noun, prefer short but explanatory ids (e.g notifications, actions).

      • getVersion

         final Integer getVersion()

        Version is used to track changes in a group, you should increment the version when you change anything in the group (add/delete/change events or their fields).