java.lang.Object
com.github.rvesse.airline.restrictions.AbstractCommonRestriction
com.github.rvesse.airline.restrictions.None
- All Implemented Interfaces:
ArgumentsRestriction
,GlobalRestriction
,OptionRestriction
A restriction which doesn't actually impose any restrictions
-
Field Summary
Fields inherited from interface com.github.rvesse.airline.restrictions.GlobalRestriction
DEFAULTS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> void
validate
(ParseState<T> state) Validates the parser stateMethods inherited from class com.github.rvesse.airline.restrictions.AbstractCommonRestriction
finalValidate, finalValidate, getArgumentTitle, getArgumentTitle, getOptionTitle, postValidate, postValidate, preValidate, preValidate
-
Constructor Details
-
None
public None()
-
-
Method Details
-
validate
Description copied from interface:GlobalRestriction
Validates the parser stateShould throw an exception if the restriction is violated, otherwise should simply return
- Specified by:
validate
in interfaceGlobalRestriction
- Parameters:
state
- Parser state
-