public class OptionDef extends Object
Modifier | Constructor and Description |
---|---|
|
OptionDef(Argument a,
boolean forceMultiValued) |
protected |
OptionDef(String usage,
String metaVar,
boolean required,
boolean help,
boolean hidden,
Class<? extends OptionHandler> handler,
boolean multiValued) |
Modifier and Type | Method and Description |
---|---|
Class<? extends OptionHandler> |
handler() |
boolean |
help() |
boolean |
hidden()
Value from
Option.hidden() or Argument.hidden() |
boolean |
isArgument() |
boolean |
isMultiValued() |
String |
metaVar() |
boolean |
required() |
String |
toString() |
String |
usage() |
public OptionDef(Argument a, boolean forceMultiValued)
protected OptionDef(String usage, String metaVar, boolean required, boolean help, boolean hidden, Class<? extends OptionHandler> handler, boolean multiValued)
public String usage()
public String metaVar()
public boolean required()
public boolean help()
public boolean hidden()
Option.hidden()
or Argument.hidden()
public Class<? extends OptionHandler> handler()
public boolean isMultiValued()
public boolean isArgument()
Copyright © 2003-2016 Kohsuke Kawaguchi. All Rights Reserved.