Package net.anotheria.anosite.guard
Class LanguageIsNotDEGuard
- java.lang.Object
-
- net.anotheria.anosite.guard.LanguageAbstractGuard
-
- net.anotheria.anosite.guard.LanguageIsDEGuard
-
- net.anotheria.anosite.guard.LanguageIsNotDEGuard
-
- All Implemented Interfaces:
ConditionalGuard
public class LanguageIsNotDEGuard extends LanguageIsDEGuard
Current language shouldn't be 'DE'.- Author:
- Alexandr Bolbat
-
-
Constructor Summary
Constructors Constructor Description LanguageIsNotDEGuard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanshouldMatch()By overriding this method we can change conditional logic.-
Methods inherited from class net.anotheria.anosite.guard.LanguageIsDEGuard
getTargetLanguage
-
Methods inherited from class net.anotheria.anosite.guard.LanguageAbstractGuard
isConditionFullfilled
-
-
-
-
Method Detail
-
shouldMatch
protected boolean shouldMatch()
Description copied from class:LanguageAbstractGuardBy overriding this method we can change conditional logic.- Overrides:
shouldMatchin classLanguageAbstractGuard- Returns:
trueif target language should be equal to current logic orfalseif shouldn't
-
-