bpiwowar.argparser
Annotation Type OrderedArgument


@Retention(value=RUNTIME)
public @interface OrderedArgument

A command line argument description for ordered arguments To check integrity, use PostChecker

Author:
B. Piwowarski

Optional Element Summary
 Class<? extends Handler> handler
          Fully qualified name of the wrapper object
 String help
          The help string
 String[] intervals
          The valid intervals of values Example: [0,1),(2,3]
 String name
          The name of the option (only used when building the help string)
 boolean required
          Required?
 

name

public abstract String name
The name of the option (only used when building the help string)

Default:
""

required

public abstract boolean required
Required?

Default:
false

help

public abstract String help
The help string

Default:
""

handler

public abstract Class<? extends Handler> handler
Fully qualified name of the wrapper object

Default:
bpiwowar.argparser.handlers.Handler.class

intervals

public abstract String[] intervals
The valid intervals of values Example: [0,1),(2,3]

Default:
{}


Copyright © 2013. All Rights Reserved.