Update naming in commandline parser
[cli-helper.git] / src / main / java / eu / svjatoslav / commons / cli_helper / parameter_parser / ParameterCount.java
diff --git a/src/main/java/eu/svjatoslav/commons/cli_helper/parameter_parser/ParameterCount.java b/src/main/java/eu/svjatoslav/commons/cli_helper/parameter_parser/ParameterCount.java
new file mode 100755 (executable)
index 0000000..bcaceec
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ * Svjatoslav Commons - shared library of common functionality. Author: Svjatoslav Agejenko.
+ * This project is released under Creative Commons Zero (CC0) license.
+ */
+package eu.svjatoslav.commons.cli_helper.parameter_parser;
+
+/**
+ * This enum is used to define how many parameters con be given to particular option.
+ */
+public enum ParameterCount {
+
+    /**
+     * Option has no parameters.
+     */
+    NONE,
+    /**
+     * Option has exactly one parameter.
+     */
+    SINGLE,
+
+    /**
+     * Option can have any amount of parameters.
+     */
+    MULTI
+}