Uses of Interface
com.github.rvesse.airline.restrictions.ArgumentsRestriction
Packages that use ArgumentsRestriction
Package
Description
-
Uses of ArgumentsRestriction in com.github.rvesse.airline.examples.userguide.restrictions.custom
Classes in com.github.rvesse.airline.examples.userguide.restrictions.custom that implement ArgumentsRestrictionMethods in com.github.rvesse.airline.examples.userguide.restrictions.custom that return ArgumentsRestrictionModifier and TypeMethodDescriptionMultipleRestrictionFactory.createArgumentsRestriction
(Annotation annotation) -
Uses of ArgumentsRestriction in com.github.rvesse.airline.help.cli
Methods in com.github.rvesse.airline.help.cli with parameters of type ArgumentsRestrictionModifier and TypeMethodDescriptionprotected 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 ArgumentsRestrictionModifier and TypeMethodDescriptionAbstractUsageGenerator.sortArgumentsRestrictions
(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 ArgumentsRestrictionModifier and TypeMethodDescriptionprotected 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 ArgumentsRestrictionModifier and TypeMethodDescriptionprotected 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 ArgumentsRestrictionModifier and TypeFieldDescriptionprivate final List
<ArgumentsRestriction> ArgumentsMetadata.restrictions
Methods in com.github.rvesse.airline.model that return types with arguments of type ArgumentsRestriction -
Uses of ArgumentsRestriction in com.github.rvesse.airline.restrictions
Classes in com.github.rvesse.airline.restrictions that implement ArgumentsRestrictionModifier and TypeClassDescriptionclass
class
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 ArgumentsRestrictionModifier and TypeClassDescriptionclass
class
An abstract string restriction that needs a locale and case sensitivity flagclass
Abstract restrictions on string values for options and argumentsclass
class
class
class
A restriction that requires raw values to end with one of a set of suffixesclass
A restriction that options/arguments are requiredclass
A restriction that requires string values meet length constraintsclass
A restriction that enforces that values CANNOT look like optionsclass
class
class
class
class
Implements restriction on options and arguments that expect to receive a path to a file and/or directoryclass
A restriction which requires the raw values to match a given regular expressionclass
class
Restriction that enforces that values must be either positive/negative with zero optionally includedclass
A restriction that requires the value (after type conversion) to be within a given rangeclass
A restriction that requires raw values to start with one of a set of prefixesFields in com.github.rvesse.airline.restrictions.common declared as ArgumentsRestrictionModifier and TypeFieldDescriptionprivate final ArgumentsRestriction
PartialRestriction.argumentsRestriction
Constructors in com.github.rvesse.airline.restrictions.common with parameters of type ArgumentsRestrictionModifierConstructorDescriptionPartialRestriction
(int[] indices, ArgumentsRestriction argumentsRestriction) private
PartialRestriction
(ArgumentsRestriction argumentsRestriction) PartialRestriction
(Collection<Integer> indices, ArgumentsRestriction argumentsRestriction) -
Uses of ArgumentsRestriction in com.github.rvesse.airline.restrictions.factories
Methods in com.github.rvesse.airline.restrictions.factories that return ArgumentsRestrictionModifier and TypeMethodDescriptionAllowedValuesRestrictionFactory.createArgumentsRestriction
(Annotation annotation) ArgumentsRestrictionFactory.createArgumentsRestriction
(Annotation annotation) Tries to create an arguments restriction from the given annotationOccurrencesRestrictionFactory.createArgumentsRestriction
(Annotation annotation) PathRestrictionFactory.createArgumentsRestriction
(Annotation annotation) PortRestrictionFactory.createArgumentsRestriction
(Annotation annotation) final ArgumentsRestriction
RangeRestrictionFactory.createArgumentsRestriction
(Annotation annotation) RequireFromRestrictionFactory.createArgumentsRestriction
(Annotation annotation) SimpleRestrictionsFactory.createArgumentsRestriction
(Annotation annotation) StringRestrictionFactory.createArgumentsRestriction
(Annotation annotation) static <T extends Annotation>
ArgumentsRestrictionRestrictionRegistry.getArgumentsRestriction
(Class<? extends Annotation> cls, T annotation) -
Uses of ArgumentsRestriction in com.github.rvesse.airline.restrictions.options
Classes in com.github.rvesse.airline.restrictions.options that implement ArgumentsRestrictionModifier and TypeClassDescriptionclass
A restriction that options/arguments are required unless some other criteria is metclass
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 ArgumentsRestrictionModifier and TypeMethodDescriptionboolean
IsRequiredArgumentFinder.evaluate
(ArgumentsRestriction restriction)