0d74b3f8bb01ab313501cefb0844919e04a28474
[cli-helper.git] / src / main / java / eu / svjatoslav / commons / cli_helper / parameter_parser / ParameterCount.java
1 /*
2  * Svjatoslav Commons - shared library of common functionality. Author: Svjatoslav Agejenko.
3  * This project is released under Creative Commons Zero (CC0) license.
4  */
5 package eu.svjatoslav.commons.cli_helper.parameter_parser;
6
7 /**
8  * This enumeration is used to define how many parameters
9  * does particular commandline option accept.
10  */
11 public enum ParameterCount {
12
13     /**
14      * Option has no parameters.
15      */
16     NONE,
17
18     /**
19      * Option has exactly one mandatory parameter.
20      */
21     ONE,
22
23     /**
24      * Option must have one or more parameters.
25      */
26     ONE_OR_MORE
27 }