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