Class LanguageIsNotENGuard

  • All Implemented Interfaces:
    ConditionalGuard

    public class LanguageIsNotENGuard
    extends LanguageIsENGuard
    Current language shouldn't be 'EN'.
    Author:
    Alexandr Bolbat
    • Constructor Detail

      • LanguageIsNotENGuard

        public LanguageIsNotENGuard()
    • 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