Class CreateLikeEventPayloadTransformer
- java.lang.Object
-
- com.atlassian.confluence.notifications.ParticipantTemplate<PAYLOAD>
-
- com.atlassian.confluence.notifications.PayloadTransformerTemplate<LikeEvent,LikePayload>
-
- com.atlassian.confluence.plugins.like.notifications.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>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CreateLikeEventPayloadTransformer(UserAccessor userAccessor)
-
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
-
-
-
-
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 interfacecom.atlassian.confluence.notifications.batch.payload.BatchingPayloadTransformer<LikePayload>
-
checkedCreate
protected com.atlassian.fugue.Maybe<LikePayload> checkedCreate(LikeEvent likeEvent)
- Specified by:
checkedCreate
in classcom.atlassian.confluence.notifications.PayloadTransformerTemplate<LikeEvent,LikePayload>
-
-