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.StringgetServiceCloudConfigRootPath()Gets the service Cloud Config Root path Location.TranslationConstants.TranslationMethodgetSupportedTranslationMethod()Gets the supported translation method.java.lang.StringgetTranslationServiceAttribution()Gets the translation service attribution.java.lang.StringgetTranslationServiceLabel()Gets the translation service label.java.lang.StringgetTranslationServiceName()Gets the translation service name. 
 - 
 
- 
- 
Method Detail
- 
getTranslationServiceAttribution
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public TranslationConstants.TranslationMethod getSupportedTranslationMethod()
Description copied from interface:TranslationService.TranslationServiceInfoGets the supported translation method.- Specified by:
 getSupportedTranslationMethodin interfaceTranslationService.TranslationServiceInfo- Returns:
 - the supported translation method
 
 
- 
getServiceCloudConfigRootPath
public java.lang.String 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.
 
 
 - 
 
 -