Interface TranslationCloudConfigUtil


  • public interface TranslationCloudConfigUtil
    • Method Detail

      • getCloudConfigPathAppliedOnResource

        String getCloudConfigPathAppliedOnResource​(Resource resource,
                                                   Class<?> cloudConfigClass)
      • getCloudConfigPathAppliedOnResource

        String getCloudConfigPathAppliedOnResource​(Resource resource,
                                                   String strCloudConfigResourceType)
      • getCloudConfigObjectFromPath

        Object getCloudConfigObjectFromPath​(Resource resource,
                                            Class<?> cloudConfigClass,
                                            String cloudConfigPath)
        Retrieve the context aware cloud configuration at cloudConfigPath that has been applied on the resource
        Parameters:
        resource - the resource on which the cloud config is applied
        cloudConfigClass - the type of the cloud config
        cloudConfigPath - path of the cloud config
        Returns:
      • isCloudConfigAppliedOnImmediateResource

        boolean isCloudConfigAppliedOnImmediateResource​(Resource translationConfigResource,
                                                        String resourceType)