Class None
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 GlobalRestriction
DEFAULTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidvalidate(ParseState<T> state) Validates the parser stateMethods inherited from class AbstractCommonRestriction
finalValidate, finalValidate, getArgumentTitle, getArgumentTitle, getOptionTitle, postValidate, postValidate, preValidate, preValidate
-
Constructor Details
-
None
public None()
-
-
Method Details
-
validate
Description copied from interface:GlobalRestrictionValidates the parser stateShould throw an exception if the restriction is violated, otherwise should simply return
- Specified by:
validatein interfaceGlobalRestriction- Parameters:
state- Parser state
-