View Javadoc
1   package org.djutils.cli;
2   
3   /**
4    * Checkable checks whether the CLI arguments are correct. <br>
5    * <br>
6    * Copyright (c) 2003-2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
7    * for project information <a href="https://www.simulation.tudelft.nl/" target="_blank">www.simulation.tudelft.nl</a>. The
8    * source code and binary code of this software is proprietary information of Delft University of Technology.
9    * @author <a href="https://www.tudelft.nl/averbraeck" target="_blank">Alexander Verbraeck</a>
10   */
11  public interface Checkable
12  {
13      /**
14       * check the CLI arguments.
15       * @throws Exception when checking fails
16       */
17      void check() throws Exception;
18  }