Uses of Interface
com.github.rvesse.airline.restrictions.OptionRestriction
Packages that use OptionRestriction
Package
Description
-
Uses of OptionRestriction in com.github.rvesse.airline.examples.userguide.restrictions.custom
Classes in com.github.rvesse.airline.examples.userguide.restrictions.custom that implement OptionRestrictionMethods in com.github.rvesse.airline.examples.userguide.restrictions.custom that return OptionRestrictionModifier and TypeMethodDescriptionMultipleRestrictionFactory.createOptionRestriction
(Annotation annotation) -
Uses of OptionRestriction in com.github.rvesse.airline.help.cli
Methods in com.github.rvesse.airline.help.cli with parameters of type OptionRestrictionModifier and TypeMethodDescriptionprotected void
CliUsageHelper.outputOptionRestriction
(UsagePrinter out, OptionMetadata option, OptionRestriction restriction, HelpHint hint) Outputs documentation about a restriction on an option -
Uses of OptionRestriction in com.github.rvesse.airline.help.common
Method parameters in com.github.rvesse.airline.help.common with type arguments of type OptionRestrictionModifier and TypeMethodDescriptionAbstractUsageGenerator.sortOptionRestrictions
(List<OptionRestriction> restrictions) -
Uses of OptionRestriction in com.github.rvesse.airline.help.html
Methods in com.github.rvesse.airline.help.html with parameters of type OptionRestrictionModifier and TypeMethodDescriptionprotected void
HtmlCommandUsageGenerator.outputOptionRestriction
(Writer writer, OptionMetadata option, OptionRestriction restriction, HelpHint hint) Outputs a documentation section detailing an allowed value for an option -
Uses of OptionRestriction in com.github.rvesse.airline.help.man
Methods in com.github.rvesse.airline.help.man with parameters of type OptionRestrictionModifier and TypeMethodDescriptionprotected void
ManUsageHelper.outputOptionRestriction
(TroffPrinter printer, OptionMetadata option, OptionRestriction restriction, HelpHint hint) Outputs documentation about a restriction on an option -
Uses of OptionRestriction in com.github.rvesse.airline.help.markdown
Methods in com.github.rvesse.airline.help.markdown with parameters of type OptionRestrictionModifier and TypeMethodDescriptionprotected void
MarkdownUsageHelper.outputOptionRestriction
(UsagePrinter out, OptionMetadata option, OptionRestriction restriction, HelpHint hint) Outputs documentation about a restriction on an option -
Uses of OptionRestriction in com.github.rvesse.airline.model
Fields in com.github.rvesse.airline.model with type parameters of type OptionRestrictionModifier and TypeFieldDescriptionprivate final List
<OptionRestriction> OptionMetadata.restrictions
Methods in com.github.rvesse.airline.model that return types with arguments of type OptionRestriction -
Uses of OptionRestriction in com.github.rvesse.airline.restrictions
Classes in com.github.rvesse.airline.restrictions that implement OptionRestrictionModifier and TypeClassDescriptionclass
class
A restriction which doesn't actually impose any restrictions -
Uses of OptionRestriction in com.github.rvesse.airline.restrictions.common
Classes in com.github.rvesse.airline.restrictions.common that implement OptionRestrictionModifier 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 OptionRestrictionModifier and TypeFieldDescriptionprivate final OptionRestriction
PartialRestriction.optionRestriction
Constructors in com.github.rvesse.airline.restrictions.common with parameters of type OptionRestrictionModifierConstructorDescriptionPartialRestriction
(int[] indices, OptionRestriction optionRestriction) private
PartialRestriction
(OptionRestriction optionRestriction) PartialRestriction
(Collection<Integer> indices, OptionRestriction optionRestriction) -
Uses of OptionRestriction in com.github.rvesse.airline.restrictions.factories
Methods in com.github.rvesse.airline.restrictions.factories that return OptionRestrictionModifier and TypeMethodDescriptionAllowedValuesRestrictionFactory.createOptionRestriction
(Annotation annotation) OccurrencesRestrictionFactory.createOptionRestriction
(Annotation annotation) OptionRestrictionFactory.createOptionRestriction
(Annotation annotation) Try and create an option restriction from the given annotationPathRestrictionFactory.createOptionRestriction
(Annotation annotation) PortRestrictionFactory.createOptionRestriction
(Annotation annotation) final OptionRestriction
RangeRestrictionFactory.createOptionRestriction
(Annotation annotation) RequiredOnlyIfRestrictionFactory.createOptionRestriction
(Annotation annotation) RequireFromRestrictionFactory.createOptionRestriction
(Annotation annotation) SimpleRestrictionsFactory.createOptionRestriction
(Annotation annotation) StringRestrictionFactory.createOptionRestriction
(Annotation annotation) static <T extends Annotation>
OptionRestrictionRestrictionRegistry.getOptionRestriction
(Class<? extends Annotation> cls, T annotation) -
Uses of OptionRestriction in com.github.rvesse.airline.restrictions.options
Classes in com.github.rvesse.airline.restrictions.options that implement OptionRestrictionModifier and TypeClassDescriptionclass
A restriction that options/arguments are required unless some other criteria is metclass
class
class
A restriction that requires an option/argument be set UNLESS a suitable environment variable is specified.class
-
Uses of OptionRestriction in com.github.rvesse.airline.utils.predicates.restrictions
Methods in com.github.rvesse.airline.utils.predicates.restrictions that return types with arguments of type OptionRestrictionModifier and TypeMethodDescriptionprotected abstract org.apache.commons.collections4.Predicate
<OptionRestriction> AbstractOptionRestrictionBasedFinder.getRestrictionPredicate()
protected abstract org.apache.commons.collections4.Predicate
<OptionRestriction> AbstractParsedOptionRestrictionBasedFinder.getRestrictionPredicate()
protected org.apache.commons.collections4.Predicate
<OptionRestriction> MutuallyExclusiveWithOptionFinder.getRestrictionPredicate()
protected org.apache.commons.collections4.Predicate
<OptionRestriction> MutuallyExclusiveWithTagParsedOptionFinder.getRestrictionPredicate()
protected org.apache.commons.collections4.Predicate
<OptionRestriction> RequiredTagOptionFinder.getRestrictionPredicate()
protected org.apache.commons.collections4.Predicate
<OptionRestriction> RequiredTagParsedOptionFinder.getRestrictionPredicate()
Methods in com.github.rvesse.airline.utils.predicates.restrictions with parameters of type OptionRestrictionModifier and TypeMethodDescriptionboolean
AllowedValuesOptionFinder.evaluate
(OptionRestriction restriction) boolean
IsRequiredOptionFinder.evaluate
(OptionRestriction restriction) boolean
MutuallyExclusiveWithFinder.evaluate
(OptionRestriction restriction) boolean
RequiredFromFinder.evaluate
(OptionRestriction restriction)