Package 

Class AbstractAnalyticsEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public @interface AbstractAnalyticsEvent.Priority

      List of supported event priorities.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static int LOW
      public final static int NORMAL
      public final static int HIGH
      public final static int CRITICAL
    • Method Summary

      Modifier and Type Method Description
      LogicalCondition<out Expression<Long>, out Object> getIdentityCondition(Long key) Gets a LogicalCondition that can be used to match an entity by it's unique identifier.
      LogicalCondition<out Expression<Long>, out Object> getIdentityCondition() Gets a LogicalCondition that can be used to match this entity by it's unique identifier.
      static AnalyticsEvent create(int priority, @NonNull() String type, @Nullable() Map<String, String> parameters) Creates a new analytics event.
      static AnalyticsEvent create(@NonNull() String type, @Nullable() Map<String, String> parameters) Creates a new analytics event.
      static AnalyticsEvent create(int priority, @NonNull() String type, @Nullable() String parameters)
      • Methods inherited from class com.brightcove.player.store.BaseEntity

        getModifiedTime, onBeforeInsert, onBeforeUpdate
      • Methods inherited from class com.brightcove.player.store.IdentifiableEntity

        getIdentityCondition, getIdentityCondition, getKey
      • Methods inherited from class java.lang.Object

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

      • getIdentityCondition

         LogicalCondition<out Expression<Long>, out Object> getIdentityCondition(Long key)

        Gets a LogicalCondition that can be used to match an entity by it's unique identifier.

        Parameters:
        key - the unique identifier of the entity.
      • getIdentityCondition

         LogicalCondition<out Expression<Long>, out Object> getIdentityCondition()

        Gets a LogicalCondition that can be used to match this entity by it's unique identifier.

      • create

         static AnalyticsEvent create(int priority, @NonNull() String type, @Nullable() Map<String, String> parameters)

        Creates a new analytics event.

        Parameters:
        priority - the priority of the event.
        type - the type of the analytics event.
        parameters - a map of HTTP query parameter names and values to be sent to the server.
      • create

         static AnalyticsEvent create(@NonNull() String type, @Nullable() Map<String, String> parameters)

        Creates a new analytics event.

        Parameters:
        type - the type of the analytics event.
        parameters - a map of HTTP query parameter names and values to be sent to the server.