Class ConfigurationClient

    • Constructor Detail

      • ConfigurationClient

        ConfigurationClient()
    • Method Detail

      • isConfigurationReachable

         final Boolean isConfigurationReachable()
        Returns:

        true, if configuration versions for the required product version are not null, false otherwise. The configuration version is null in case of exceptions. The configuration version is empty if there is no product version in the configuration.

      • isSendEnabled

         final Boolean isSendEnabled()
        Returns:

        true, if configuration versions for the required product version are not null, the release filters for the required product version are not empty and valid. Release filters aren't valid if from=0,to=Int.MAX or release type is an empty string, false otherwise

      • provideOptions

         final Map<String, String> provideOptions()
        Returns:

        configuration options for the required product version, empty map otherwise.

      • provideEndpointValue

         final String provideEndpointValue(String endpointName)
        Returns:

        endpoint value by required endpoint name for the required product version, null otherwise.

      • provideSendEndpoint

         final String provideSendEndpoint()
        Returns:

        send endpoint for the required product version, null otherwise.

      • provideMetadataProductUrl

         final String provideMetadataProductUrl()
        Returns:

        not-versioned metadata product url for the required product version, null otherwise

      • provideReleaseFilters

         final List<ConfigurationReleaseFilter> provideReleaseFilters()
        Returns:

        valid release filters for the required product version, empty list otherwise. Release filters aren't valid if from=0,to=Int.MAX or release type is empty string.

      • provideReleaseFilters

         final List<ConfigurationReleaseFilter> provideReleaseFilters(String releaseType)
        Returns:

        valid release filters by required release type for the required product version, empty list otherwise. Release filters aren't valid if from=0,to=Int.MAX or release type is empty string.