Package com.atlassian.jira.webhooks
Interface UriVariablesProvider<T>
- Type Parameters:
T- event class
- All Known Implementing Classes:
CommentEventVariablesProvider,IssueEventVariablesProvider,PostFunctionEventVariablesProvider,ProjectEventVariablesProvider,UserCreatedEventVariablesProvider,UserDeletedEventVariablesProvider,UserUpdatedEventVariablesProvider,VersionEventVariablesProvider,VersionMergeEventVariablesProvider
public interface UriVariablesProvider<T>
Defines configuration of extra variables which can be send in webhook in url.
-
Method Summary
Modifier and TypeMethodDescriptionList of supported variables.List<com.atlassian.webhooks.WebhookEvent>Events which have possibility of passing variables from provider.uriVariables(T event) Defines which values from events should be passed to url path.
-
Method Details
-
uriVariables
Defines which values from events should be passed to url path.- Parameters:
event- event type- Returns:
-
supportedUriVariables
List of supported variables.- Returns:
-
supportedWebhookEvents
List<com.atlassian.webhooks.WebhookEvent> supportedWebhookEvents()Events which have possibility of passing variables from provider.- Returns:
-