public class GosucArg extends Object
| Modifier and Type | Field and Description |
|---|---|
static GosucArg[] |
ARGS |
static GosucArg |
PARSER |
static GosucArg |
PROJECT |
| Constructor and Description |
|---|
GosucArg(boolean bRequired,
boolean bFlag,
String name,
String desc) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getError() |
String |
getName() |
String |
getValue() |
boolean |
hasError() |
boolean |
isFlag() |
boolean |
isMatched() |
boolean |
isRequired() |
static String |
parseArgs(String[] args) |
void |
setError(String error) |
void |
setValue(String value) |
String |
toString() |
public static final GosucArg PROJECT
public static final GosucArg PARSER
public static final GosucArg[] ARGS
public String getName()
public String getValue()
public void setValue(String value)
public boolean isRequired()
public boolean isFlag()
public String getDescription()
public boolean isMatched()
public String getError()
public void setError(String error)
public boolean hasError()
Copyright © 2017. All rights reserved.