Uses of Interface
com.github.rvesse.airline.restrictions.ArgumentsRestriction
-
-
Uses of ArgumentsRestriction in com.github.rvesse.airline.examples.userguide.restrictions.custom
Classes in com.github.rvesse.airline.examples.userguide.restrictions.custom that implement ArgumentsRestriction Modifier and Type Class Description class
MultipleOfRestriction
Methods in com.github.rvesse.airline.examples.userguide.restrictions.custom that return ArgumentsRestriction Modifier and Type Method Description ArgumentsRestriction
MultipleRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)
-
Uses of ArgumentsRestriction in com.github.rvesse.airline.help.cli
Methods in com.github.rvesse.airline.help.cli with parameters of type ArgumentsRestriction Modifier and Type Method Description protected void
CliUsageHelper. outputArgumentsRestriction(UsagePrinter descriptionPrinter, ArgumentsMetadata arguments, ArgumentsRestriction restriction, HelpHint hint)
Outputs documentation about a restriction on an option -
Uses of ArgumentsRestriction in com.github.rvesse.airline.help.common
Method parameters in com.github.rvesse.airline.help.common with type arguments of type ArgumentsRestriction Modifier and Type Method Description protected java.util.List<HelpHint>
AbstractUsageGenerator. sortArgumentsRestrictions(java.util.List<ArgumentsRestriction> restrictions)
-
Uses of ArgumentsRestriction in com.github.rvesse.airline.help.man
Methods in com.github.rvesse.airline.help.man with parameters of type ArgumentsRestriction Modifier and Type Method Description protected void
ManUsageHelper. outputArgumentsRestriction(TroffPrinter printer, ArgumentsMetadata arguments, ArgumentsRestriction restriction, HelpHint hint)
Outputs documentation about a restriction on an option -
Uses of ArgumentsRestriction in com.github.rvesse.airline.help.markdown
Methods in com.github.rvesse.airline.help.markdown with parameters of type ArgumentsRestriction Modifier and Type Method Description protected void
MarkdownUsageHelper. outputArgumentsRestriction(UsagePrinter descriptionPrinter, ArgumentsMetadata arguments, ArgumentsRestriction restriction, HelpHint hint)
Outputs documentation about a restriction on an option -
Uses of ArgumentsRestriction in com.github.rvesse.airline.model
Fields in com.github.rvesse.airline.model with type parameters of type ArgumentsRestriction Modifier and Type Field Description private java.util.List<ArgumentsRestriction>
ArgumentsMetadata. restrictions
Methods in com.github.rvesse.airline.model that return types with arguments of type ArgumentsRestriction Modifier and Type Method Description java.util.List<ArgumentsRestriction>
ArgumentsMetadata. getRestrictions()
-
Uses of ArgumentsRestriction in com.github.rvesse.airline.restrictions
Classes in com.github.rvesse.airline.restrictions that implement ArgumentsRestriction Modifier and Type Class Description class
AbstractCommonRestriction
class
None
A restriction which doesn't actually impose any restrictions -
Uses of ArgumentsRestriction in com.github.rvesse.airline.restrictions.common
Classes in com.github.rvesse.airline.restrictions.common that implement ArgumentsRestriction 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 prefixesFields in com.github.rvesse.airline.restrictions.common declared as ArgumentsRestriction Modifier and Type Field Description private ArgumentsRestriction
PartialRestriction. argumentsRestriction
Constructors in com.github.rvesse.airline.restrictions.common with parameters of type ArgumentsRestriction Constructor Description PartialRestriction(int[] indices, ArgumentsRestriction argumentsRestriction)
PartialRestriction(ArgumentsRestriction argumentsRestriction)
PartialRestriction(java.util.Collection<java.lang.Integer> indices, ArgumentsRestriction argumentsRestriction)
-
Uses of ArgumentsRestriction in com.github.rvesse.airline.restrictions.factories
Methods in com.github.rvesse.airline.restrictions.factories that return ArgumentsRestriction Modifier and Type Method Description ArgumentsRestriction
AllowedValuesRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)
ArgumentsRestriction
ArgumentsRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)
Tries to create an arguments restriction from the given annotationArgumentsRestriction
OccurrencesRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)
ArgumentsRestriction
PathRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)
ArgumentsRestriction
PortRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)
ArgumentsRestriction
RangeRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)
ArgumentsRestriction
RequireFromRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)
ArgumentsRestriction
SimpleRestrictionsFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)
ArgumentsRestriction
StringRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)
static <T extends java.lang.annotation.Annotation>
ArgumentsRestrictionRestrictionRegistry. getArgumentsRestriction(java.lang.Class<? extends java.lang.annotation.Annotation> cls, T annotation)
-
Uses of ArgumentsRestriction in com.github.rvesse.airline.restrictions.options
Classes in com.github.rvesse.airline.restrictions.options that implement ArgumentsRestriction 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. -
Uses of ArgumentsRestriction in com.github.rvesse.airline.utils.predicates.restrictions
Methods in com.github.rvesse.airline.utils.predicates.restrictions with parameters of type ArgumentsRestriction Modifier and Type Method Description boolean
IsRequiredArgumentFinder. evaluate(ArgumentsRestriction restriction)
-