View Javadoc

1   //
2   //Author       : t.wood
3   //Copyright    : (c) Teamphone.com Ltd. 2008 - All Rights Reserved
4   //
5   package com.lexicalscope.jewel.cli.validation;
6   
7   import java.util.List;
8   
9   import com.lexicalscope.jewel.cli.specification.ParsedOptionSpecification;
10  
11  /**
12   * A parsed argument
13   *
14   * @author t.wood
15   */
16  public interface Argument
17  {
18     /**
19      * The option name
20      *
21      * @return the option name
22      */
23     ParsedOptionSpecification getOptionName();
24  
25     /**
26      * The values
27      *
28      * @return The values
29      */
30     List<String> getValues();
31  }