@Component public class CommentCreatedSerializer extends AbstractJiraEventSerializer<T>
Constructor and Description |
---|
CommentCreatedSerializer(RegisteredWebHookEventFactory registeredWebHookEventFactory,
CommentBeanFactory commentBeanFactory) |
Modifier and Type | Method and Description |
---|---|
protected Long |
getTimestamp(CommentCreatedEvent event) |
protected com.google.common.collect.ImmutableMap.Builder<String,Object> |
putFields(T event,
com.google.common.collect.ImmutableMap.Builder<String,Object> defaultJson) |
defaultFields, serialize
@Autowired public CommentCreatedSerializer(RegisteredWebHookEventFactory registeredWebHookEventFactory, CommentBeanFactory commentBeanFactory)
protected Long getTimestamp(CommentCreatedEvent event)
getTimestamp
in class AbstractJiraEventSerializer<CommentCreatedEvent>
protected com.google.common.collect.ImmutableMap.Builder<String,Object> putFields(T event, com.google.common.collect.ImmutableMap.Builder<String,Object> defaultJson)
putFields
in class AbstractJiraEventSerializer<T extends CommentEvent>
Copyright © 2002-2019 Atlassian. All Rights Reserved.