Module com.github.rvesse.airline
Package com.github.rvesse.airline.annotations.restrictions
package com.github.rvesse.airline.annotations.restrictions
-
ClassDescriptionAnnotation that marks that the option/arguments are restricted to a given set of raw string values as defined by a given enum typeAnnotation that marks that the option/arguments are restricted to a given set of raw string valuesAnnotation that marks that the option/arguments are restricted to a given set of valuesAnnotation that marks that an options value must be a valid path to a directoryAnnotation that marks that an options value must end with a given stringAnnotation that marks that an options value is restricted to being an exact lengthAnnotation that marks that an options value must be a valid path to a fileAnnotation that marks that an options value is restricted to a maximum length (which is inclusive)Annotation that marks an option as being restricted to occurring some maximum number of times (inclusive)Annotation that marks that an options value is restricted to a minimum length (which is inclusive)Annotation that marks an option as being required to occur some minimum number of times (inclusive)Annotation that indicates that you optionally permit one option from some set of options to be present, the set of options are identified by a user defined tag.An annotation that marks that values provided for options/arguments MUST NOT look like possible options.An annotation that marks that an options values must not be blank i.e.An annotation that marks an options value must not be emptyAn annotation that marks that an option may occur at most onceAnnotation which is used as a modifier to indicate that a restriction annotation (whose type is denoted by the
Partial.restriction()
field) does not apply to all values passed to anOption
orArguments
annotated field but rather applies only to certain valuesAnnotation that marks that an options value must be a valid path to a file/directoryEnumeration of path kindsAn annotation that indicates that an options raw values must match a given regular expressionAnnotation that indicates that an option/argument denotes a port number and its value should be restricted as such to a specific set of port classes as defined byPortType
.Annotation that indicates that an option/argument denotes a port number and its value should be restricted as such to a specific set of ports.Annotation that indicates that an option/argument denotes a port number and its value should be restricted as such to a specific set of ports.Port typesAn annotation that indicates that an option/arguments is requiredAn annotation that indicates that an option/arguments is required only if some other option/options are presentAn annotation that indicates that an option/arguments is required UNLESS a specific environment variable is set.Annotation that indicates that you only permit one option from some set of options to be present, the set of options are identified by a user defined tag.This annotation denotes that at least one of some set of options are required, the set of options are identified by a user defined tag.Annotation that marks that an options value must start with a given stringAn annotation that indicates that no restrictions should apply