Class CommentEventVariablesProvider
java.lang.Object
com.atlassian.jira.plugins.webhooks.url.CommentEventVariablesProvider
- All Implemented Interfaces:
UriVariablesProvider<CommentEvent>
@Component
public class CommentEventVariablesProvider
extends Object
implements UriVariablesProvider<CommentEvent>
-
Constructor Summary
ConstructorsConstructorDescriptionCommentEventVariablesProvider
(ProjectContextSerializer projectContextSerializer, IssueContextSerializer issueContextSerializer, CommentContextSerializer commentContextSerializer) -
Method Summary
Modifier and TypeMethodDescriptionList of supported variables.List<com.atlassian.webhooks.WebhookEvent>
Events which have possibility of passing variables from provider.uriVariables
(CommentEvent commentEvent) Defines which values from events should be passed to url path.
-
Constructor Details
-
CommentEventVariablesProvider
public CommentEventVariablesProvider(ProjectContextSerializer projectContextSerializer, IssueContextSerializer issueContextSerializer, CommentContextSerializer commentContextSerializer)
-
-
Method Details
-
uriVariables
Description copied from interface:UriVariablesProvider
Defines which values from events should be passed to url path.- Specified by:
uriVariables
in interfaceUriVariablesProvider<CommentEvent>
- Parameters:
commentEvent
- event type- Returns:
-
supportedWebhookEvents
Description copied from interface:UriVariablesProvider
Events which have possibility of passing variables from provider.- Specified by:
supportedWebhookEvents
in interfaceUriVariablesProvider<CommentEvent>
- Returns:
-
supportedUriVariables
Description copied from interface:UriVariablesProvider
List of supported variables.- Specified by:
supportedUriVariables
in interfaceUriVariablesProvider<CommentEvent>
- Returns:
-