Class AllCondition

All Implemented Interfaces:
Condition, Constituent, Synopsisable, org.refcodes.mixin.DescriptionAccessor, org.refcodes.mixin.Resetable, org.refcodes.mixin.Schemable

public class AllCondition extends AbstractCondition implements Condition
The AllCondition enforces that the encapsulated Constituent consumes all arguments passed via invoking its Constituent.parseArgs(String[], CliContext), else a SuperfluousArgsException is thrown. This enables the construction of a syntax which otherwise would not be unambiguous when encapsulated within an XorCondition.