Package net.anotheria.anosite.guard
Class LanguageIsDEGuard
- java.lang.Object
-
- net.anotheria.anosite.guard.LanguageAbstractGuard
-
- net.anotheria.anosite.guard.LanguageIsDEGuard
-
- All Implemented Interfaces:
ConditionalGuard
- Direct Known Subclasses:
LanguageIsNotDEGuard
public class LanguageIsDEGuard extends LanguageAbstractGuard
Current language should be 'DE'.- Author:
- Alexandr Bolbat
-
-
Constructor Summary
Constructors Constructor Description LanguageIsDEGuard()
-
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)
-
-