Class AppLinkPoweredPanopticonRestClient

java.lang.Object
com.atlassian.crowd.licensing.AppLinkPoweredPanopticonRestClient
All Implemented Interfaces:
PanopticonRestClient

public class AppLinkPoweredPanopticonRestClient extends Object implements PanopticonRestClient
  • Field Details

  • Constructor Details

    • AppLinkPoweredPanopticonRestClient

      public AppLinkPoweredPanopticonRestClient(@Nonnull com.atlassian.applinks.api.ApplicationLinkRequestFactory requestFactory)
  • Method Details

    • fetchLicenseTierInfo

      public List<com.atlassian.plugins.license.entity.LicenseTierInfoEntity> fetchLicenseTierInfo() throws com.atlassian.applinks.api.CredentialsRequiredException, IOException, com.atlassian.sal.api.net.ResponseException
      Specified by:
      fetchLicenseTierInfo in interface PanopticonRestClient
      Throws:
      com.atlassian.applinks.api.CredentialsRequiredException
      IOException
      com.atlassian.sal.api.net.ResponseException
    • fetchDirectoryInfo

      public List<com.atlassian.plugins.license.entity.DirectoryInformationEntity> fetchDirectoryInfo(com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity versionEntity) throws com.atlassian.sal.api.net.ResponseException, com.atlassian.applinks.api.CredentialsRequiredException
      Specified by:
      fetchDirectoryInfo in interface PanopticonRestClient
      Throws:
      com.atlassian.sal.api.net.ResponseException
      com.atlassian.applinks.api.CredentialsRequiredException
    • fetchVersionInfo

      public com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity fetchVersionInfo() throws com.atlassian.applinks.api.CredentialsRequiredException, IOException, com.atlassian.sal.api.net.ResponseException
      Specified by:
      fetchVersionInfo in interface PanopticonRestClient
      Throws:
      com.atlassian.applinks.api.CredentialsRequiredException
      IOException
      com.atlassian.sal.api.net.ResponseException
    • fetchUsers

      public Iterator<com.atlassian.plugins.license.entity.LicensedUserInfoEntity> fetchUsers(com.atlassian.plugins.license.entity.SynchronizableVersionInfoEntity versionEntity)
      Specified by:
      fetchUsers in interface PanopticonRestClient
    • isPanopticonResponding

      public boolean isPanopticonResponding() throws com.atlassian.applinks.api.CredentialsRequiredException
      Specified by:
      isPanopticonResponding in interface PanopticonRestClient
      Throws:
      com.atlassian.applinks.api.CredentialsRequiredException