Uses of Class
com.composum.ai.aem.core.impl.autotranslate.AutoPageTranslateServiceImpl.PropertyToTranslate
-
Packages that use AutoPageTranslateServiceImpl.PropertyToTranslate Package Description com.composum.ai.aem.core.impl.autotranslate -
-
Uses of AutoPageTranslateServiceImpl.PropertyToTranslate in com.composum.ai.aem.core.impl.autotranslate
Methods in com.composum.ai.aem.core.impl.autotranslate that return types with arguments of type AutoPageTranslateServiceImpl.PropertyToTranslate Modifier and Type Method Description protected List<AutoPageTranslateServiceImpl.PropertyToTranslate>
AutoPageTranslateServiceImpl. reducePropertiesToTranslate(List<AutoPageTranslateServiceImpl.PropertyToTranslate> propertiesToTranslate, AutoTranslateCaConfig autoTranslateCaConfig)
Collects the values we need to translate.Methods in com.composum.ai.aem.core.impl.autotranslate with parameters of type AutoPageTranslateServiceImpl.PropertyToTranslate Modifier and Type Method Description protected void
AutoPageTranslateServiceImpl. cancelInheritance(org.apache.sling.api.resource.Resource resource, org.apache.sling.api.resource.Resource resourceToTranslate, AutoPageTranslateServiceImpl.PropertyToTranslate propertyToTranslate)
Method parameters in com.composum.ai.aem.core.impl.autotranslate with type arguments of type AutoPageTranslateServiceImpl.PropertyToTranslate Modifier and Type Method Description protected boolean
AutoPageTranslateServiceImpl. collectPropertiesToTranslate(org.apache.sling.api.resource.Resource resource, List<AutoPageTranslateServiceImpl.PropertyToTranslate> propertiesToTranslate, AutoPageTranslateService.Stats stats, AutoTranslateService.TranslationParameters translationParameters, boolean force)
Searches for properties we have to translate.protected String
AutoPageTranslateServiceImpl. collectTranslationRules(String path, List<AutoPageTranslateServiceImpl.PropertyToTranslate> allTranslateableProperties, List<AutoTranslateRuleConfig> rules)
protected boolean
AutoPageTranslateServiceImpl. isApplicable(AutoTranslateRuleConfig rule, String path, List<AutoPageTranslateServiceImpl.PropertyToTranslate> allTranslateableProperties)
Returns whether the rule is applicable.protected com.composum.ai.backend.base.service.chat.GPTConfiguration
AutoPageTranslateServiceImpl. maybeIncludeAlreadyTranslatedTextAsExample(List<AutoPageTranslateServiceImpl.PropertyToTranslate> propertiesToTranslate, AutoTranslateCaConfig autoTranslateCaConfig, com.composum.ai.backend.base.service.chat.GPTConfiguration configuration)
If configured, we include the already translated parts of the page as example.protected List<AutoPageTranslateServiceImpl.PropertyToTranslate>
AutoPageTranslateServiceImpl. reducePropertiesToTranslate(List<AutoPageTranslateServiceImpl.PropertyToTranslate> propertiesToTranslate, AutoTranslateCaConfig autoTranslateCaConfig)
Collects the values we need to translate.
-