Uses of Class
com.github.rvesse.airline.restrictions.AbstractCommonRestriction
-
-
Uses of AbstractCommonRestriction in com.github.rvesse.airline.examples.userguide.restrictions.custom
Subclasses of AbstractCommonRestriction in com.github.rvesse.airline.examples.userguide.restrictions.custom Modifier and Type Class Description classMultipleOfRestriction -
Uses of AbstractCommonRestriction in com.github.rvesse.airline.restrictions
Subclasses of AbstractCommonRestriction in com.github.rvesse.airline.restrictions Modifier and Type Class Description classNoneA 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.common Modifier and Type Class Description classAbstractAllowedValuesRestrictionclassAbstractLocaleAndCaseStringRestrictionAn abstract string restriction that needs a locale and case sensitivity flagclassAbstractStringRestrictionAbstract restrictions on string values for options and argumentsclassAllowedEnumValuesRestrictionclassAllowedRawValuesRestrictionclassAllowedValuesRestrictionclassEndsWithRestrictionA restriction that requires raw values to end with one of a set of suffixesclassIsRequiredRestrictionA restriction that options/arguments are requiredclassLengthRestrictionA restriction that requires string values meet length constraintsclassNoOptionLikeValuesRestrictionA restriction that enforces that values CANNOT look like optionsclassNotBlankRestrictionclassNotEmptyRestrictionclassOccurrencesRestrictionclassPartialRestrictionclassPathRestrictionImplements restriction on options and arguments that expect to receive a path to a file and/or directoryclassPatternRestrictionA restriction which requires the raw values to match a given regular expressionclassPortRestrictionclassPositiveNegativeRestrictionRestriction that enforces that values must be either positive/negative with zero optionally includedclassRangeRestrictionA restriction that requires the value (after type conversion) to be within a given rangeclassStartsWithRestrictionA 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 AbstractCommonRestriction Modifier and Type Method Description protected AbstractCommonRestrictionRangeRestrictionFactory. createCommon(java.lang.annotation.Annotation annotation)Handles converting all the basic range annotations into appropriate range restrictionsprivate AbstractCommonRestrictionSimpleRestrictionsFactory. createCommon(java.lang.annotation.Annotation annotation)protected AbstractCommonRestrictionStringRestrictionFactory. createCommon(java.lang.annotation.Annotation annotation)protected AbstractCommonRestrictionRangeRestrictionFactory. createLengthRange(java.lang.annotation.Annotation annotation)protected AbstractCommonRestrictionRangeRestrictionFactory. createUnknownRange(java.lang.annotation.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.options Modifier and Type Class Description classAbstractRequiredUnlessRestrictionA restriction that options/arguments are required unless some other criteria is metclassRequiredUnlessEnvironmentRestrictionA restriction that requires an option/argument be set UNLESS a suitable environment variable is specified.
-