Package com.atlassian.jira.web.bean.i18n
Class MockTranslationStore
java.lang.Object
com.atlassian.jira.web.bean.i18n.MockTranslationStore
- All Implemented Interfaces:
TranslationStore
- Since:
- v6.2.3
-
Constructor Summary
ConstructorsConstructorDescriptionMockTranslationStore(String... pairs) MockTranslationStore(Map<String, String> pairs) -
Method Summary
Modifier and TypeMethodDescriptionasMap()booleancontainsKey(String key) Whether this TranslationStore contains the given key.Returns the i18n value associated with a key.keys()Returns an Iterable over this TranslationStore's keys.
-
Constructor Details
-
MockTranslationStore
-
MockTranslationStore
-
-
Method Details
-
asMap
-
get
Description copied from interface:TranslationStoreReturns the i18n value associated with a key.- Specified by:
getin interfaceTranslationStore- Parameters:
key- a String key- Returns:
- a String
-
containsKey
Description copied from interface:TranslationStoreWhether this TranslationStore contains the given key.- Specified by:
containsKeyin interfaceTranslationStore- Parameters:
key- a String key- Returns:
- true if this TranslationStore contains the given key
-
keys
Description copied from interface:TranslationStoreReturns an Iterable over this TranslationStore's keys.- Specified by:
keysin interfaceTranslationStore- Returns:
- an Iterable<String>
-
add
-
add
-