Module com.github.rvesse.airline
Annotation Interface Partial
Annotation which is used as a modifier to indicate that a restriction
annotation (whose type is denoted by the
restriction()
field) does
not apply to all values passed to an Option
or Arguments
annotated field but rather applies only to certain values-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionint[]
Specifies the indices (zero-based) to which the restriction should actually applyClass
<? extends Annotation> Specifies the restriction type whose application should be partial
-
Element Details
-
appliesTo
int[] appliesToSpecifies the indices (zero-based) to which the restriction should actually apply- Returns:
- Indices to which the restriction applies
-
restriction
Class<? extends Annotation> restrictionSpecifies the restriction type whose application should be partial- Returns:
- Restriction type
-