Package com.atlassian.confluence.plugin
Class MockTestTranslationTransform
- java.lang.Object
-
- com.atlassian.confluence.plugin.MockTestTranslationTransform
-
- All Implemented Interfaces:
TranslationTransform
public class MockTestTranslationTransform extends Object implements TranslationTransform
-
-
Constructor Summary
Constructors Constructor Description MockTestTranslationTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(Locale locale, String key, String rawMessage)StringgetStateHash()return a hash of the state of the transform for cache invalidation purposes if the transform has multiple states
-
-
-
Method Detail
-
apply
public String apply(Locale locale, String key, String rawMessage)
- Specified by:
applyin interfaceTranslationTransform- Returns:
-
getStateHash
public String getStateHash()
Description copied from interface:TranslationTransformreturn a hash of the state of the transform for cache invalidation purposes if the transform has multiple states- Specified by:
getStateHashin interfaceTranslationTransform
-
-