1 package eu.svjatoslav.commons.commandline.parameterparser.parameter;
3 import eu.svjatoslav.commons.commandline.parameterparser.ArgumentCount;
4 import eu.svjatoslav.commons.commandline.parameterparser.Parameter;
6 public class NullParameter extends Parameter {
8 public NullParameter(final String description) {
9 super(description, ArgumentCount.NONE);
13 public NullParameter addAliases(final String... aliasArray) {
14 super.addAliases(aliasArray);
18 public boolean getValue() {
19 return isParameterSpecified();
23 public NullParameter setMandatory() {
29 public java.lang.String describeFormat() {
34 public boolean validate(final java.lang.String value) {