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:UriVariablesProviderDefines which values from events should be passed to url path.- Specified by:
uriVariablesin interfaceUriVariablesProvider<CommentEvent>- Parameters:
commentEvent- event type- Returns:
-
supportedWebhookEvents
Description copied from interface:UriVariablesProviderEvents which have possibility of passing variables from provider.- Specified by:
supportedWebhookEventsin interfaceUriVariablesProvider<CommentEvent>- Returns:
-
supportedUriVariables
Description copied from interface:UriVariablesProviderList of supported variables.- Specified by:
supportedUriVariablesin interfaceUriVariablesProvider<CommentEvent>- Returns:
-