Uses of Class
com.github.rvesse.airline.restrictions.AbstractCommonRestriction
Packages that use AbstractCommonRestriction
Package
Description
-
Uses of AbstractCommonRestriction in com.github.rvesse.airline.examples.userguide.restrictions.custom
-
Uses of AbstractCommonRestriction in com.github.rvesse.airline.restrictions
Subclasses of AbstractCommonRestriction in com.github.rvesse.airline.restrictionsModifier and TypeClassDescriptionclassA restriction which doesn't actually impose any restrictions -
Uses of AbstractCommonRestriction in com.github.rvesse.airline.restrictions.common
Subclasses of AbstractCommonRestriction in com.github.rvesse.airline.restrictions.commonModifier and TypeClassDescriptionclassclassAn abstract string restriction that needs a locale and case sensitivity flagclassAbstract restrictions on string values for options and argumentsclassclassclassclassA restriction that requires raw values to end with one of a set of suffixesclassA restriction that options/arguments are requiredclassA restriction that requires string values meet length constraintsclassA restriction that enforces that values CANNOT look like optionsclassclassclassclassclassImplements restriction on options and arguments that expect to receive a path to a file and/or directoryclassA restriction which requires the raw values to match a given regular expressionclassclassRestriction that enforces that values must be either positive/negative with zero optionally includedclassA restriction that requires the value (after type conversion) to be within a given rangeclassA restriction that requires raw values to start with one of a set of prefixes -
Uses of AbstractCommonRestriction in com.github.rvesse.airline.restrictions.factories
Methods in com.github.rvesse.airline.restrictions.factories that return AbstractCommonRestrictionModifier and TypeMethodDescriptionprotected final AbstractCommonRestrictionRangeRestrictionFactory.createCommon(Annotation annotation) Handles converting all the basic range annotations into appropriate range restrictionsprivate AbstractCommonRestrictionSimpleRestrictionsFactory.createCommon(Annotation annotation) protected AbstractCommonRestrictionStringRestrictionFactory.createCommon(Annotation annotation) protected AbstractCommonRestrictionRangeRestrictionFactory.createLengthRange(Annotation annotation) protected AbstractCommonRestrictionRangeRestrictionFactory.createUnknownRange(Annotation annotation) Handles turning unknown annotations into range restrictions, derived factories can extend this to add support for additional range restrictions -
Uses of AbstractCommonRestriction in com.github.rvesse.airline.restrictions.options
Subclasses of AbstractCommonRestriction in com.github.rvesse.airline.restrictions.optionsModifier and TypeClassDescriptionclassA restriction that options/arguments are required unless some other criteria is metclassA restriction that requires an option/argument be set UNLESS a suitable environment variable is specified.