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 voidCliUsageHelper.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 voidHtmlCommandUsageGenerator.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 voidManUsageHelper.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 voidMarkdownUsageHelper.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.restrictionsMethods 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 TypeClassDescriptionclassclassA 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 TypeClassDescriptionclassclassAn abstract string restriction that needs a locale and case sensitivity flagclassAbstract restrictions on string values for options and argumentsclassclassclassclassA restriction that requires raw values to end with one of a set of suffixesclassA restriction that options/arguments are requiredclassA restriction that requires string values meet length constraintsclassA restriction that enforces that values CANNOT look like optionsclassclassclassclassclassImplements restriction on options and arguments that expect to receive a path to a file and/or directoryclassA restriction which requires the raw values to match a given regular expressionclassclassRestriction that enforces that values must be either positive/negative with zero optionally includedclassA restriction that requires the value (after type conversion) to be within a given rangeclassA 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 OptionRestrictionPartialRestriction.optionRestrictionConstructors in com.github.rvesse.airline.restrictions.common with parameters of type OptionRestrictionModifierConstructorDescriptionPartialRestriction(int[] indices, OptionRestriction optionRestriction) privatePartialRestriction(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 OptionRestrictionRangeRestrictionFactory.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 TypeClassDescriptionclassA restriction that options/arguments are required unless some other criteria is metclassclassclassA 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
Classes in com.github.rvesse.airline.utils.predicates.restrictions that implement interfaces with type arguments of type OptionRestrictionModifier and TypeClassDescriptionclassclassclassclassMethods 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 TypeMethodDescriptionbooleanAllowedValuesOptionFinder.evaluate(OptionRestriction restriction) booleanIsRequiredOptionFinder.evaluate(OptionRestriction restriction) booleanMutuallyExclusiveWithFinder.evaluate(OptionRestriction restriction) booleanRequiredFromFinder.evaluate(OptionRestriction restriction)