-
public interface CommandParameter
The parameter of command.- 另请参阅:
MParameter
-
-
方法概要
修饰符和类型 方法 说明 String
description()
The value ofMParameter.description()
String
name()
Get the option name of this parameter.CommandParamParser
parser()
Get the parameter parser.boolean
require()
Does this parameter must exists?Class<?>
type()
The mark type.
-
-
-
方法详细资料
-
name
String name()
Get the option name of this parameter.- 返回:
- The option name.
-
type
Class<?> type()
The mark type.- 返回:
- The type.
-
description
String description()
The value ofMParameter.description()
- 返回:
- Parameter description.
-
parser
CommandParamParser parser()
Get the parameter parser.- 返回:
- The parser.
-
require
boolean require()
Does this parameter must exists?- 返回:
- Need exists.
-
-