Package net.anotheria.anosite.guard
Class ContextLanguageIsGermanGuard
- java.lang.Object
-
- net.anotheria.anosite.guard.ContextLanguageIsGuard
-
- net.anotheria.anosite.guard.ContextLanguageIsGermanGuard
-
- All Implemented Interfaces:
ConditionalGuard
public class ContextLanguageIsGermanGuard extends ContextLanguageIsGuard
This guard is fulfilled if the current context language is set to DE.- Author:
- lrosenberg
-
-
Constructor Summary
Constructors Constructor Description ContextLanguageIsGermanGuard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetDesiredContextLanguage()Returns the context language for this guard implementation to let pass.-
Methods inherited from class net.anotheria.anosite.guard.ContextLanguageIsGuard
isConditionFullfilled
-
-
-
-
Method Detail
-
getDesiredContextLanguage
protected String getDesiredContextLanguage()
Description copied from class:ContextLanguageIsGuardReturns the context language for this guard implementation to let pass. Remember the return value of this function must MATCH EXACTLY what you've written in the context.xml.- Specified by:
getDesiredContextLanguagein classContextLanguageIsGuard- Returns:
- context language.
-
-