Class AbstractTranslationService.TranslationServiceInfoImpl
java.lang.Object
com.adobe.granite.translation.core.common.AbstractTranslationService.TranslationServiceInfoImpl
- All Implemented Interfaces:
TranslationService.TranslationServiceInfo
- Enclosing class:
AbstractTranslationService
public class AbstractTranslationService.TranslationServiceInfoImpl
extends Object
implements TranslationService.TranslationServiceInfo
-
Method Summary
Modifier and TypeMethodDescriptionGets the service Cloud Config Root path Location.Gets the supported translation method.Gets the translation service attribution.Gets the translation service label.Gets the translation service name.
-
Method Details
-
getTranslationServiceAttribution
Description copied from interface:TranslationService.TranslationServiceInfoGets the translation service attribution.- Specified by:
getTranslationServiceAttributionin interfaceTranslationService.TranslationServiceInfo- Returns:
- Optional property used to attribute this translation provider (such as "Translations by Adobe Translate")
-
getTranslationServiceLabel
Description copied from interface:TranslationService.TranslationServiceInfoGets the translation service label.- Specified by:
getTranslationServiceLabelin interfaceTranslationService.TranslationServiceInfo- Returns:
- Optional property used to describe this translation service in a user-interface (such as to allow its selection from a drop-down menu).
-
getTranslationServiceName
Description copied from interface:TranslationService.TranslationServiceInfoGets the translation service name.- Specified by:
getTranslationServiceNamein interfaceTranslationService.TranslationServiceInfo- Returns:
- Name of the service property indicating the particular implementation this factory provides, e.g. Adobe.
-
getSupportedTranslationMethod
Description copied from interface:TranslationService.TranslationServiceInfoGets the supported translation method.- Specified by:
getSupportedTranslationMethodin interfaceTranslationService.TranslationServiceInfo- Returns:
- the supported translation method
-
getServiceCloudConfigRootPath
Description copied from interface:TranslationService.TranslationServiceInfoGets the service Cloud Config Root path Location.- Specified by:
getServiceCloudConfigRootPathin interfaceTranslationService.TranslationServiceInfo- Returns:
- Root path of the service Cloud Config. This will be used to determine the cloud config for the Translation service.
-