Interface TranslationCloudConfigUtil
-
public interface TranslationCloudConfigUtil
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
getCloudConfigObjectFromPath(java.lang.Class<?> cloudConfigClass, java.lang.String cloudConfigPath)
Deprecated.since 6.4, usegetCloudConfigObjectFromPath(Resource, Class, String)
insteadjava.lang.Object
getCloudConfigObjectFromPath(Resource resource, java.lang.Class<?> cloudConfigClass, java.lang.String cloudConfigPath)
Retrieve the context aware cloud configuration atcloudConfigPath
that has been applied on theresource
java.lang.String
getCloudConfigPathAppliedOnResource(Resource resource, java.lang.Class<?> cloudConfigClass)
java.lang.String
getCloudConfigPathAppliedOnResource(Resource resource, java.lang.String strCloudConfigResourceType)
boolean
isCloudConfigAppliedOnImmediateResource(Resource translationConfigResource, java.lang.String resourceType)
-
-
-
Method Detail
-
getCloudConfigPathAppliedOnResource
java.lang.String getCloudConfigPathAppliedOnResource(Resource resource, java.lang.Class<?> cloudConfigClass)
-
getCloudConfigPathAppliedOnResource
java.lang.String getCloudConfigPathAppliedOnResource(Resource resource, java.lang.String strCloudConfigResourceType)
-
getCloudConfigObjectFromPath
@Deprecated java.lang.Object getCloudConfigObjectFromPath(java.lang.Class<?> cloudConfigClass, java.lang.String cloudConfigPath)
Deprecated.since 6.4, usegetCloudConfigObjectFromPath(Resource, Class, String)
instead
-
getCloudConfigObjectFromPath
java.lang.Object getCloudConfigObjectFromPath(Resource resource, java.lang.Class<?> cloudConfigClass, java.lang.String cloudConfigPath)
Retrieve the context aware cloud configuration atcloudConfigPath
that has been applied on theresource
- Parameters:
resource
- the resource on which the cloud config is appliedcloudConfigClass
- the type of the cloud configcloudConfigPath
- path of the cloud config- Returns:
-
isCloudConfigAppliedOnImmediateResource
boolean isCloudConfigAppliedOnImmediateResource(Resource translationConfigResource, java.lang.String resourceType)
-
-