Module com.github.rvesse.airline
Class AbstractLocaleAndCaseStringRestriction
- java.lang.Object
-
- com.github.rvesse.airline.restrictions.AbstractCommonRestriction
-
- com.github.rvesse.airline.restrictions.common.AbstractStringRestriction
-
- com.github.rvesse.airline.restrictions.common.AbstractLocaleAndCaseStringRestriction
-
- All Implemented Interfaces:
ArgumentsRestriction
,OptionRestriction
- Direct Known Subclasses:
EndsWithRestriction
,StartsWithRestriction
public abstract class AbstractLocaleAndCaseStringRestriction extends AbstractStringRestriction
An abstract string restriction that needs a locale and case sensitivity flag
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
ignoreCase
protected java.util.Locale
locale
-
Constructor Summary
Constructors Constructor Description AbstractLocaleAndCaseStringRestriction(boolean ignoreCase, java.util.Locale locale)
Creates the restriction
-
Method Summary
-
Methods inherited from class com.github.rvesse.airline.restrictions.common.AbstractStringRestriction
isValid, preValidate, preValidate, violated, violated
-
Methods inherited from class com.github.rvesse.airline.restrictions.AbstractCommonRestriction
finalValidate, finalValidate, getArgumentTitle, getArgumentTitle, getOptionTitle, postValidate, postValidate
-
-