Class FeatureDiscoveryServiceImpl

java.lang.Object
com.atlassian.bamboo.feature.discovery.FeatureDiscoveryServiceImpl
All Implemented Interfaces:
com.atlassian.feature.discovery.api.FeatureDiscoveryService

public class FeatureDiscoveryServiceImpl extends Object implements com.atlassian.feature.discovery.api.FeatureDiscoveryService
Feature discovery SPI implementation.
  • Constructor Details

  • Method Details

    • getCurrentProductVersion

      @NotNull public @NotNull com.atlassian.feature.discovery.api.ProductVersion getCurrentProductVersion()
      Specified by:
      getCurrentProductVersion in interface com.atlassian.feature.discovery.api.FeatureDiscoveryService
    • getCurrentUser

      @Nonnull public Optional<String> getCurrentUser()
      Specified by:
      getCurrentUser in interface com.atlassian.feature.discovery.api.FeatureDiscoveryService
    • getLastProductVersionForUser

      @NotNull public @NotNull Optional<com.atlassian.feature.discovery.api.ProductVersion> getLastProductVersionForUser(@NotNull @NotNull String username) throws com.atlassian.feature.discovery.api.UserNotFoundException
      Specified by:
      getLastProductVersionForUser in interface com.atlassian.feature.discovery.api.FeatureDiscoveryService
      Throws:
      com.atlassian.feature.discovery.api.UserNotFoundException
    • setLastProductVersionForUser

      public void setLastProductVersionForUser(@NotNull @NotNull String username, @NotNull @NotNull com.atlassian.feature.discovery.api.ProductVersion productVersion) throws com.atlassian.feature.discovery.api.UserNotFoundException
      Specified by:
      setLastProductVersionForUser in interface com.atlassian.feature.discovery.api.FeatureDiscoveryService
      Throws:
      com.atlassian.feature.discovery.api.UserNotFoundException
    • getNotificationsForUser

      @NotNull public @NotNull Collection<? extends com.atlassian.feature.discovery.api.FeatureDiscoveryNotification> getNotificationsForUser(@NotNull @NotNull String username)
      Specified by:
      getNotificationsForUser in interface com.atlassian.feature.discovery.api.FeatureDiscoveryService
    • getFeaturesSummaryPageUrl

      @NotNull public @NotNull String getFeaturesSummaryPageUrl()
      Specified by:
      getFeaturesSummaryPageUrl in interface com.atlassian.feature.discovery.api.FeatureDiscoveryService