Uses of Interface
com.github.rvesse.airline.restrictions.GlobalRestriction
-
-
Uses of GlobalRestriction in com.github.rvesse.airline
Fields in com.github.rvesse.airline with type parameters of type GlobalRestriction Modifier and Type Field Description private java.util.List<GlobalRestriction>
SingleCommand. restrictions
Methods in com.github.rvesse.airline that return types with arguments of type GlobalRestriction Modifier and Type Method Description private java.util.List<GlobalRestriction>
SingleCommand. createRestrictions(java.lang.Class<C> commandClass, java.lang.Iterable<GlobalRestriction> restrictions)
Method parameters in com.github.rvesse.airline with type arguments of type GlobalRestriction Modifier and Type Method Description private java.util.List<GlobalRestriction>
SingleCommand. createRestrictions(java.lang.Class<C> commandClass, java.lang.Iterable<GlobalRestriction> restrictions)
Constructor parameters in com.github.rvesse.airline with type arguments of type GlobalRestriction Constructor Description SingleCommand(java.lang.Class<C> command, java.lang.Iterable<GlobalRestriction> restrictions, ParserMetadata<C> parserConfig)
-
Uses of GlobalRestriction in com.github.rvesse.airline.annotations
Methods in com.github.rvesse.airline.annotations that return types with arguments of type GlobalRestriction Modifier and Type Method Description java.lang.Class<? extends GlobalRestriction>[]
restrictions()
Defines the classes that provide global restrictions for the CLI -
Uses of GlobalRestriction in com.github.rvesse.airline.builder
Fields in com.github.rvesse.airline.builder with type parameters of type GlobalRestriction Modifier and Type Field Description protected java.util.List<GlobalRestriction>
CliBuilder. restrictions
Methods in com.github.rvesse.airline.builder with parameters of type GlobalRestriction Modifier and Type Method Description CliBuilder<C>
CliBuilder. withRestriction(GlobalRestriction restriction)
CliBuilder<C>
CliBuilder. withRestrictions(GlobalRestriction... restrictions)
-
Uses of GlobalRestriction in com.github.rvesse.airline.model
Fields in com.github.rvesse.airline.model with type parameters of type GlobalRestriction Modifier and Type Field Description private java.util.List<GlobalRestriction>
GlobalMetadata. restrictions
Methods in com.github.rvesse.airline.model that return types with arguments of type GlobalRestriction Modifier and Type Method Description java.util.List<GlobalRestriction>
GlobalMetadata. getRestrictions()
Gets the global restrictions -
Uses of GlobalRestriction in com.github.rvesse.airline.parser.command
Method parameters in com.github.rvesse.airline.parser.command with type arguments of type GlobalRestriction Modifier and Type Method Description T
SingleCommandParser. parse(ParserMetadata<T> parserConfig, CommandMetadata commandMetadata, java.lang.Iterable<GlobalRestriction> restrictions, java.lang.Iterable<java.lang.String> args)
ParseResult<T>
SingleCommandParser. parseWithResult(ParserMetadata<T> parserConfig, CommandMetadata commandMetadata, java.lang.Iterable<GlobalRestriction> restrictions, java.lang.Iterable<java.lang.String> args)
protected void
SingleCommandParser. validate(ParseState<T> state, java.util.List<GlobalRestriction> restrictions)
Validates the parser state -
Uses of GlobalRestriction in com.github.rvesse.airline.restrictions
Classes in com.github.rvesse.airline.restrictions that implement GlobalRestriction Modifier and Type Class Description class
None
A restriction which doesn't actually impose any restrictionsFields in com.github.rvesse.airline.restrictions declared as GlobalRestriction Modifier and Type Field Description static GlobalRestriction[]
GlobalRestriction. DEFAULTS
-
Uses of GlobalRestriction in com.github.rvesse.airline.restrictions.common
Classes in com.github.rvesse.airline.restrictions.common that implement GlobalRestriction Modifier and Type Class Description class
NoOptionLikeValuesRestriction
A restriction that enforces that values CANNOT look like options -
Uses of GlobalRestriction in com.github.rvesse.airline.restrictions.factories
Methods in com.github.rvesse.airline.restrictions.factories that return GlobalRestriction Modifier and Type Method Description GlobalRestriction
GlobalRestrictionFactory. createGlobalRestriction(java.lang.annotation.Annotation annotation)
Try and create a global restriction from the given annotationGlobalRestriction
StandardGlobalRestrictionsFactory. createGlobalRestriction(java.lang.annotation.Annotation annotation)
static <T extends java.lang.annotation.Annotation>
GlobalRestrictionRestrictionRegistry. getGlobalRestriction(java.lang.Class<? extends java.lang.annotation.Annotation> cls, T annotation)
-
Uses of GlobalRestriction in com.github.rvesse.airline.restrictions.global
Classes in com.github.rvesse.airline.restrictions.global that implement GlobalRestriction Modifier and Type Class Description class
CommandRequiredRestriction
class
NoMissingOptionValuesRestriction
class
NoUnexpectedArgumentsRestriction
-