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 java.lang.Object implements TranslationService.TranslationServiceInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getServiceCloudConfigRootPath()
Gets the service Cloud Config Root path Location.TranslationConstants.TranslationMethod
getSupportedTranslationMethod()
Gets the supported translation method.java.lang.String
getTranslationServiceAttribution()
Gets the translation service attribution.java.lang.String
getTranslationServiceLabel()
Gets the translation service label.java.lang.String
getTranslationServiceName()
Gets the translation service name.
-
-
-
Method Detail
-
getTranslationServiceAttribution
public java.lang.String getTranslationServiceAttribution()
Description copied from interface:TranslationService.TranslationServiceInfo
Gets the translation service attribution.- Specified by:
getTranslationServiceAttribution
in interfaceTranslationService.TranslationServiceInfo
- Returns:
- Optional property used to attribute this translation provider (such as "Translations by Adobe Translate")
-
getTranslationServiceLabel
public java.lang.String getTranslationServiceLabel()
Description copied from interface:TranslationService.TranslationServiceInfo
Gets the translation service label.- Specified by:
getTranslationServiceLabel
in 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
public java.lang.String getTranslationServiceName()
Description copied from interface:TranslationService.TranslationServiceInfo
Gets the translation service name.- Specified by:
getTranslationServiceName
in interfaceTranslationService.TranslationServiceInfo
- Returns:
- Name of the service property indicating the particular implementation this factory provides, e.g. Adobe.
-
getSupportedTranslationMethod
public TranslationConstants.TranslationMethod getSupportedTranslationMethod()
Description copied from interface:TranslationService.TranslationServiceInfo
Gets the supported translation method.- Specified by:
getSupportedTranslationMethod
in interfaceTranslationService.TranslationServiceInfo
- Returns:
- the supported translation method
-
getServiceCloudConfigRootPath
public java.lang.String getServiceCloudConfigRootPath()
Description copied from interface:TranslationService.TranslationServiceInfo
Gets the service Cloud Config Root path Location.- Specified by:
getServiceCloudConfigRootPath
in interfaceTranslationService.TranslationServiceInfo
- Returns:
- Root path of the service Cloud Config. This will be used to determine the cloud config for the Translation service.
-
-