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 class
MultipleOfRestriction
-
Uses of AbstractCommonRestriction in com.github.rvesse.airline.restrictions
Subclasses of AbstractCommonRestriction in com.github.rvesse.airline.restrictions Modifier and Type Class Description class
None
A 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 class
AbstractAllowedValuesRestriction
class
AbstractLocaleAndCaseStringRestriction
An abstract string restriction that needs a locale and case sensitivity flagclass
AbstractStringRestriction
Abstract restrictions on string values for options and argumentsclass
AllowedEnumValuesRestriction
class
AllowedRawValuesRestriction
class
AllowedValuesRestriction
class
EndsWithRestriction
A restriction that requires raw values to end with one of a set of suffixesclass
IsRequiredRestriction
A restriction that options/arguments are requiredclass
LengthRestriction
A restriction that requires string values meet length constraintsclass
NoOptionLikeValuesRestriction
A restriction that enforces that values CANNOT look like optionsclass
NotBlankRestriction
class
NotEmptyRestriction
class
OccurrencesRestriction
class
PartialRestriction
class
PathRestriction
Implements restriction on options and arguments that expect to receive a path to a file and/or directoryclass
PatternRestriction
A restriction which requires the raw values to match a given regular expressionclass
PortRestriction
class
PositiveNegativeRestriction
Restriction that enforces that values must be either positive/negative with zero optionally includedclass
RangeRestriction
A restriction that requires the value (after type conversion) to be within a given rangeclass
StartsWithRestriction
A 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 AbstractCommonRestriction
RangeRestrictionFactory. createCommon(java.lang.annotation.Annotation annotation)
Handles converting all the basic range annotations into appropriate range restrictionsprivate AbstractCommonRestriction
SimpleRestrictionsFactory. createCommon(java.lang.annotation.Annotation annotation)
protected AbstractCommonRestriction
StringRestrictionFactory. createCommon(java.lang.annotation.Annotation annotation)
protected AbstractCommonRestriction
RangeRestrictionFactory. createLengthRange(java.lang.annotation.Annotation annotation)
protected AbstractCommonRestriction
RangeRestrictionFactory. 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 class
AbstractRequiredUnlessRestriction
A restriction that options/arguments are required unless some other criteria is metclass
RequiredUnlessEnvironmentRestriction
A restriction that requires an option/argument be set UNLESS a suitable environment variable is specified.
-