Package net.anotheria.anosite.guard
Class LanguageIsENGuard
- java.lang.Object
-
- net.anotheria.anosite.guard.LanguageAbstractGuard
-
- net.anotheria.anosite.guard.LanguageIsENGuard
-
- All Implemented Interfaces:
ConditionalGuard
- Direct Known Subclasses:
LanguageIsNotENGuard
public class LanguageIsENGuard extends LanguageAbstractGuard
Current language should be 'EN'.- Author:
- Alexandr Bolbat
-
-
Constructor Summary
Constructors Constructor Description LanguageIsENGuard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetTargetLanguage()Target language.-
Methods inherited from class net.anotheria.anosite.guard.LanguageAbstractGuard
isConditionFullfilled, shouldMatch
-
-
-
-
Method Detail
-
getTargetLanguage
protected String getTargetLanguage()
Description copied from class:LanguageAbstractGuardTarget language.- Specified by:
getTargetLanguagein classLanguageAbstractGuard- Returns:
Stringlanguage code (configured code from ano-site definition)
-
-