2 * Svjatoslav Commons - shared library of common functionality.
3 * Copyright ©2012-2013, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 2 of the GNU General Public License
7 * as published by the Free Software Foundation.
10 package eu.svjatoslav.commons.commandline.parameterparser;
12 public interface Argument {
15 * @return Single line argument type description.
17 public String describeFormat();
20 * @return <code>true</code> if value is correct, <code>false</code>
23 public boolean validate(String value);