Class PostFunctionEventVariablesProvider
java.lang.Object
com.atlassian.jira.plugins.webhooks.url.PostFunctionEventVariablesProvider
- All Implemented Interfaces:
UriVariablesProvider<WebHookPostFunctionEvent>
@Component
public class PostFunctionEventVariablesProvider
extends Object
implements UriVariablesProvider<WebHookPostFunctionEvent>
-
Constructor Summary
ConstructorsConstructorDescriptionPostFunctionEventVariablesProvider(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(WebHookPostFunctionEvent webHookPostFunctionEvent) Defines which values from events should be passed to url path.
-
Constructor Details
-
PostFunctionEventVariablesProvider
public PostFunctionEventVariablesProvider(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<WebHookPostFunctionEvent>- Parameters:
webHookPostFunctionEvent- event type- Returns:
-
supportedUriVariables
Description copied from interface:UriVariablesProviderList of supported variables.- Specified by:
supportedUriVariablesin interfaceUriVariablesProvider<WebHookPostFunctionEvent>- Returns:
-
supportedWebhookEvents
Description copied from interface:UriVariablesProviderEvents which have possibility of passing variables from provider.- Specified by:
supportedWebhookEventsin interfaceUriVariablesProvider<WebHookPostFunctionEvent>- Returns:
-