Class IssueEventVariablesProvider
java.lang.Object
com.atlassian.jira.plugins.webhooks.url.IssueEventVariablesProvider
- All Implemented Interfaces:
UriVariablesProvider<IssueRelatedEvent>
@Component
public class IssueEventVariablesProvider
extends Object
implements UriVariablesProvider<IssueRelatedEvent>
Resolves the context for issue related events.
-
Constructor Summary
ConstructorsConstructorDescriptionIssueEventVariablesProvider(ProjectContextSerializer projectContextSerializer, IssueContextSerializer issueContextSerializer) -
Method Summary
Modifier and TypeMethodDescriptionList of supported variables.List<com.atlassian.webhooks.WebhookEvent> Events which have possibility of passing variables from provider.uriVariables(IssueRelatedEvent issueRelatedEvent) Defines which values from events should be passed to url path.
-
Constructor Details
-
IssueEventVariablesProvider
public IssueEventVariablesProvider(ProjectContextSerializer projectContextSerializer, IssueContextSerializer issueContextSerializer)
-
-
Method Details
-
uriVariables
Description copied from interface:UriVariablesProviderDefines which values from events should be passed to url path.- Specified by:
uriVariablesin interfaceUriVariablesProvider<IssueRelatedEvent>- Parameters:
issueRelatedEvent- event type- Returns:
-
supportedUriVariables
Description copied from interface:UriVariablesProviderList of supported variables.- Specified by:
supportedUriVariablesin interfaceUriVariablesProvider<IssueRelatedEvent>- Returns:
-
supportedWebhookEvents
Description copied from interface:UriVariablesProviderEvents which have possibility of passing variables from provider.- Specified by:
supportedWebhookEventsin interfaceUriVariablesProvider<IssueRelatedEvent>- Returns:
-