Class SprintEventVariablesProvider

java.lang.Object
com.atlassian.greenhopper.webhooks.url.SprintEventVariablesProvider
All Implemented Interfaces:
com.atlassian.jira.webhooks.UriVariablesProvider<SprintEvent>

@Component public class SprintEventVariablesProvider extends Object implements com.atlassian.jira.webhooks.UriVariablesProvider<SprintEvent>
This class provides the declaration of url variables that an event will provide. When an event is published, we look for all variable providers for this event, and transform the given web hook url by replacing the url variables with their values from the context map.
  • Constructor Details

    • SprintEventVariablesProvider

      public SprintEventVariablesProvider()
  • Method Details

    • uriVariables

      public Map<String,Object> uriVariables(SprintEvent sprintEvent)
      Specified by:
      uriVariables in interface com.atlassian.jira.webhooks.UriVariablesProvider<SprintEvent>
    • supportedUriVariables

      public List<String> supportedUriVariables()
      Specified by:
      supportedUriVariables in interface com.atlassian.jira.webhooks.UriVariablesProvider<SprintEvent>
    • supportedWebhookEvents

      public List<com.atlassian.webhooks.WebhookEvent> supportedWebhookEvents()
      Specified by:
      supportedWebhookEvents in interface com.atlassian.jira.webhooks.UriVariablesProvider<SprintEvent>