Class AbstractScheduledEvent<B extends AbstractEventBody>

java.lang.Object
es.kukenan.smartfi.events.common.AbstractEvent<B>
es.kukenan.smartfi.events.scheduled.AbstractScheduledEvent<B>
Type Parameters:
B - the type of the event's body attribute.
All Implemented Interfaces:
Event
Direct Known Subclasses:
ScheduledTaskTriggerEvent

public abstract class AbstractScheduledEvent<B extends AbstractEventBody> extends AbstractEvent<B>
Scheduled event base class.
  • Field Details

  • Constructor Details

    • AbstractScheduledEvent

      public AbstractScheduledEvent(String typeId, String version)
      Scheduled event base class default constructor.
      Parameters:
      typeId - event type.
      version - event version.
    • AbstractScheduledEvent

      public AbstractScheduledEvent(String requestId, String companyId, String origin, String typeId, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, B body, String userIp, String userAgent)
      Scheduled event base class state constructor.
      Parameters:
      requestId - the request identifier (transaction).
      companyId - company/bank identifier (multi-tenant context, BC/BF).
      origin - service that have produced this event.
      typeId - event type (the pair origin-typeId is the unique identifier of the event type in the platform).
      operationType - operation type (some kind of event sub-type).
      messageId - arbitrary application-specific identifier for the message/event.
      version - event version.
      creationTs - event creation timestamp (milliseconds from EPOCH).
      channel - event channel.
      session - session identifier.
      manager - manager that generate event.
      userId - user identifier.
      body - event body.
      userIp - user IP Address.
      userAgent - user agent info.