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 classMultipleOfRestrictionMethods in com.github.rvesse.airline.examples.userguide.restrictions.custom that return ArgumentsRestriction Modifier and Type Method Description ArgumentsRestrictionMultipleRestrictionFactory. 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 voidCliUsageHelper. 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 voidManUsageHelper. 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 voidMarkdownUsageHelper. 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. restrictionsMethods 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 classAbstractCommonRestrictionclassNoneA 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 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 ArgumentsRestriction Modifier and Type Field Description private ArgumentsRestrictionPartialRestriction. argumentsRestrictionConstructors 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 ArgumentsRestrictionAllowedValuesRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)ArgumentsRestrictionArgumentsRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)Tries to create an arguments restriction from the given annotationArgumentsRestrictionOccurrencesRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)ArgumentsRestrictionPathRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)ArgumentsRestrictionPortRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)ArgumentsRestrictionRangeRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)ArgumentsRestrictionRequireFromRestrictionFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)ArgumentsRestrictionSimpleRestrictionsFactory. createArgumentsRestriction(java.lang.annotation.Annotation annotation)ArgumentsRestrictionStringRestrictionFactory. 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 classAbstractRequiredUnlessRestrictionA restriction that options/arguments are required unless some other criteria is metclassRequiredUnlessEnvironmentRestrictionA 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 booleanIsRequiredArgumentFinder. evaluate(ArgumentsRestriction restriction)
-