From: Svjatoslav Agejenko Date: Tue, 26 Dec 2017 19:06:36 +0000 (+0200) Subject: Added clarifying javadoc. X-Git-Tag: svjatoslavcommons-1.8~33 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=57ac589c5bb0860921e6f75e26a76958b76ac244;p=svjatoslav_commons.git Added clarifying javadoc. --- diff --git a/src/main/java/eu/svjatoslav/commons/commandline/parameterparser/Parameter.java b/src/main/java/eu/svjatoslav/commons/commandline/parameterparser/Parameter.java index 8208583..bc8db0e 100755 --- a/src/main/java/eu/svjatoslav/commons/commandline/parameterparser/Parameter.java +++ b/src/main/java/eu/svjatoslav/commons/commandline/parameterparser/Parameter.java @@ -15,7 +15,13 @@ import java.util.List; public abstract class Parameter { + /** + * Purpose of this argument, like: input image path, compression level, etc... + * + * Note: for describing argument type (file, integer, ...) there is {@link #describeFormat()}. + */ public final String description; + public final List arguments = new ArrayList<>(); final ArgumentCount argumentCount; private final List aliases = new ArrayList<>(); @@ -93,7 +99,10 @@ public abstract class Parameter { } /** - * @return Single line argument type description. + * @return Single line argument type description. If argument type should be file, + * date, integer, regular expression, etc.. + * + * Note: for argument purpose description there is {@link #description} */ public abstract String describeFormat();