Class CreateLikeEventPayloadTransformer

  • All Implemented Interfaces:
    com.atlassian.confluence.notifications.batch.payload.BatchingPayloadTransformer<LikePayload>, com.atlassian.confluence.notifications.Participant<LikePayload>, com.atlassian.confluence.notifications.PayloadTransformer<LikeEvent,​LikePayload>

    public class CreateLikeEventPayloadTransformer
    extends com.atlassian.confluence.notifications.PayloadTransformerTemplate<LikeEvent,​LikePayload>
    implements com.atlassian.confluence.notifications.batch.payload.BatchingPayloadTransformer<LikePayload>
    • Field Summary

      • Fields inherited from class com.atlassian.confluence.notifications.ParticipantTemplate

        payloadType
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.atlassian.fugue.Maybe<LikePayload> checkedCreate​(LikeEvent likeEvent)  
      com.atlassian.confluence.notifications.batch.service.BatchingKey getBatchingColumnValue​(LikePayload likePayload)  
      • Methods inherited from class com.atlassian.confluence.notifications.PayloadTransformerTemplate

        create, getSourceType
      • Methods inherited from class com.atlassian.confluence.notifications.ParticipantTemplate

        getPayloadType, verifyPayloadMatches
      • Methods inherited from interface com.atlassian.confluence.notifications.Participant

        getPayloadType
      • Methods inherited from interface com.atlassian.confluence.notifications.PayloadTransformer

        optionalCreate
    • Constructor Detail

      • CreateLikeEventPayloadTransformer

        protected CreateLikeEventPayloadTransformer​(UserAccessor userAccessor)
    • Method Detail

      • getBatchingColumnValue

        public com.atlassian.confluence.notifications.batch.service.BatchingKey getBatchingColumnValue​(LikePayload likePayload)
        Specified by:
        getBatchingColumnValue in interface com.atlassian.confluence.notifications.batch.payload.BatchingPayloadTransformer<LikePayload>
      • checkedCreate

        protected com.atlassian.fugue.Maybe<LikePayload> checkedCreate​(LikeEvent likeEvent)
        Specified by:
        checkedCreate in class com.atlassian.confluence.notifications.PayloadTransformerTemplate<LikeEvent,​LikePayload>