|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RuleI18n
I18n-companion component that provides translation facilities for rule names, descriptions and parameter names.
| Method Summary | |
|---|---|
String |
getDescription(String repositoryKey,
String ruleKey,
Locale locale)
Returns the localized description of the rule identified by its repository key and rule key. |
String |
getName(Rule rule,
Locale locale)
Returns the localized name or the name of the rule. |
String |
getName(String repositoryKey,
String ruleKey,
Locale locale)
Returns the localized name of the rule identified by its repository key and rule key. |
String |
getParamDescription(String repositoryKey,
String ruleKey,
String paramKey,
Locale locale)
Returns the localized name of the rule parameter identified by the rules's key and repository key, and by the parameter key. |
| Method Detail |
|---|
@CheckForNull
String getName(String repositoryKey,
String ruleKey,
Locale locale)
repositoryKey - the repository keyruleKey - the rule keylocale - the locale to translate into
@CheckForNull
String getName(Rule rule,
Locale locale)
rule - the rulelocale - the locale to translate into
String getDescription(String repositoryKey,
String ruleKey,
Locale locale)
repositoryKey - the repository keyruleKey - the rule keylocale - the locale to translate into
@CheckForNull
String getParamDescription(String repositoryKey,
String ruleKey,
String paramKey,
Locale locale)
repositoryKey - the repository keyruleKey - the rule keyparamKey - the parameter keylocale - the locale to translate into
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||