Class LanguageIsNotDEGuard

  • All Implemented Interfaces:
    ConditionalGuard

    public class LanguageIsNotDEGuard
    extends LanguageIsDEGuard
    Current language shouldn't be 'DE'.
    Author:
    Alexandr Bolbat
    • Constructor Detail

      • LanguageIsNotDEGuard

        public LanguageIsNotDEGuard()
    • Method Detail

      • shouldMatch

        protected boolean shouldMatch()
        Description copied from class: LanguageAbstractGuard
        By overriding this method we can change conditional logic.
        Overrides:
        shouldMatch in class LanguageAbstractGuard
        Returns:
        true if target language should be equal to current logic or false if shouldn't