@Component public final class VersionEventSerializer extends AbstractJiraEventSerializer<T>
Modifier and Type | Field and Description |
---|---|
protected SimpleVersionBeanFactory |
versionBeanFactory |
Constructor and Description |
---|
VersionEventSerializer(RegisteredWebHookEventFactory registeredWebHookEventFactory,
SimpleVersionBeanFactory versionBeanFactory) |
Modifier and Type | Method and Description |
---|---|
protected Long |
getTimestamp(AbstractVersionEvent event) |
protected com.google.common.collect.ImmutableMap.Builder<String,Object> |
putFields(T event,
com.google.common.collect.ImmutableMap.Builder<String,Object> defaultJson) |
defaultFields, serialize
protected final SimpleVersionBeanFactory versionBeanFactory
@Autowired public VersionEventSerializer(RegisteredWebHookEventFactory registeredWebHookEventFactory, SimpleVersionBeanFactory versionBeanFactory)
protected Long getTimestamp(AbstractVersionEvent event)
getTimestamp
in class AbstractJiraEventSerializer<T extends AbstractVersionEvent>
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 AbstractVersionEvent>
Copyright © 2002-2024 Atlassian. All Rights Reserved.