Uses of Interface
com.github.rvesse.airline.restrictions.OptionRestriction
-
-
Uses of OptionRestriction in com.github.rvesse.airline.examples.userguide.restrictions.custom
Classes in com.github.rvesse.airline.examples.userguide.restrictions.custom that implement OptionRestriction Modifier and Type Class Description classMultipleOfRestrictionMethods in com.github.rvesse.airline.examples.userguide.restrictions.custom that return OptionRestriction Modifier and Type Method Description OptionRestrictionMultipleRestrictionFactory. createOptionRestriction(java.lang.annotation.Annotation annotation) -
Uses of OptionRestriction in com.github.rvesse.airline.help.cli
Methods in com.github.rvesse.airline.help.cli with parameters of type OptionRestriction Modifier and Type Method Description protected 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 OptionRestriction Modifier and Type Method Description protected java.util.List<HelpHint>AbstractUsageGenerator. sortOptionRestrictions(java.util.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 OptionRestriction Modifier and Type Method Description protected voidHtmlCommandUsageGenerator. outputOptionRestriction(java.io.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 OptionRestriction Modifier and Type Method Description protected 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 OptionRestriction Modifier and Type Method Description protected 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 OptionRestriction Modifier and Type Field Description private java.util.List<OptionRestriction>OptionMetadata. restrictionsMethods in com.github.rvesse.airline.model that return types with arguments of type OptionRestriction Modifier and Type Method Description java.util.List<OptionRestriction>OptionMetadata. getRestrictions() -
Uses of OptionRestriction in com.github.rvesse.airline.restrictions
Classes in com.github.rvesse.airline.restrictions that implement OptionRestriction Modifier and Type Class Description classAbstractCommonRestrictionclassNoneA 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 OptionRestriction Modifier and Type Class Description classAbstractAllowedValuesRestrictionclassAbstractLocaleAndCaseStringRestrictionAn abstract string restriction that needs a locale and case sensitivity flagclassAbstractStringRestrictionAbstract restrictions on string values for options and argumentsclassAllowedEnumValuesRestrictionclassAllowedRawValuesRestrictionclassAllowedValuesRestrictionclassEndsWithRestrictionA restriction that requires raw values to end with one of a set of suffixesclassIsRequiredRestrictionA restriction that options/arguments are requiredclassLengthRestrictionA restriction that requires string values meet length constraintsclassNoOptionLikeValuesRestrictionA restriction that enforces that values CANNOT look like optionsclassNotBlankRestrictionclassNotEmptyRestrictionclassOccurrencesRestrictionclassPartialRestrictionclassPathRestrictionImplements restriction on options and arguments that expect to receive a path to a file and/or directoryclassPatternRestrictionA restriction which requires the raw values to match a given regular expressionclassPortRestrictionclassPositiveNegativeRestrictionRestriction that enforces that values must be either positive/negative with zero optionally includedclassRangeRestrictionA restriction that requires the value (after type conversion) to be within a given rangeclassStartsWithRestrictionA restriction that requires raw values to start with one of a set of prefixesFields in com.github.rvesse.airline.restrictions.common declared as OptionRestriction Modifier and Type Field Description private OptionRestrictionPartialRestriction. optionRestrictionConstructors in com.github.rvesse.airline.restrictions.common with parameters of type OptionRestriction Constructor Description PartialRestriction(int[] indices, OptionRestriction optionRestriction)PartialRestriction(OptionRestriction optionRestriction)PartialRestriction(java.util.Collection<java.lang.Integer> indices, OptionRestriction optionRestriction) -
Uses of OptionRestriction in com.github.rvesse.airline.restrictions.factories
Methods in com.github.rvesse.airline.restrictions.factories that return OptionRestriction Modifier and Type Method Description OptionRestrictionAllowedValuesRestrictionFactory. createOptionRestriction(java.lang.annotation.Annotation annotation)OptionRestrictionOccurrencesRestrictionFactory. createOptionRestriction(java.lang.annotation.Annotation annotation)OptionRestrictionOptionRestrictionFactory. createOptionRestriction(java.lang.annotation.Annotation annotation)Try and create an option restriction from the given annotationOptionRestrictionPathRestrictionFactory. createOptionRestriction(java.lang.annotation.Annotation annotation)OptionRestrictionPortRestrictionFactory. createOptionRestriction(java.lang.annotation.Annotation annotation)OptionRestrictionRangeRestrictionFactory. createOptionRestriction(java.lang.annotation.Annotation annotation)OptionRestrictionRequiredOnlyIfRestrictionFactory. createOptionRestriction(java.lang.annotation.Annotation annotation)OptionRestrictionRequireFromRestrictionFactory. createOptionRestriction(java.lang.annotation.Annotation annotation)OptionRestrictionSimpleRestrictionsFactory. createOptionRestriction(java.lang.annotation.Annotation annotation)OptionRestrictionStringRestrictionFactory. createOptionRestriction(java.lang.annotation.Annotation annotation)static <T extends java.lang.annotation.Annotation>
OptionRestrictionRestrictionRegistry. getOptionRestriction(java.lang.Class<? extends java.lang.annotation.Annotation> cls, T annotation) -
Uses of OptionRestriction in com.github.rvesse.airline.restrictions.options
Classes in com.github.rvesse.airline.restrictions.options that implement OptionRestriction Modifier and Type Class Description classAbstractRequiredUnlessRestrictionA restriction that options/arguments are required unless some other criteria is metclassMutuallyExclusiveRestrictionclassRequiredOnlyIfRestrictionclassRequiredUnlessEnvironmentRestrictionA restriction that requires an option/argument be set UNLESS a suitable environment variable is specified.classRequireFromRestriction -
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 OptionRestriction Modifier and Type Method Description protected 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 OptionRestriction Modifier and Type Method Description booleanAllowedValuesOptionFinder. evaluate(OptionRestriction restriction)booleanIsRequiredOptionFinder. evaluate(OptionRestriction restriction)booleanMutuallyExclusiveWithFinder. evaluate(OptionRestriction restriction)booleanRequiredFromFinder. evaluate(OptionRestriction restriction)
-