public final class VariableSetter extends Object implements OptionHandler
| 限定符和类型 | 字段和说明 |
|---|---|
protected static VariableSetter |
INSTANCE
singleton
|
| 构造器和说明 |
|---|
VariableSetter() |
| 限定符和类型 | 方法和说明 |
|---|---|
char |
option()
使用一个字符来标识一个操作
注意,这个操作是区分大小写的 |
void |
runWithParameter(String cmd,
String optionParameter,
List<String> argItems,
Interpreter interpreter)
带参数运行
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCompleteCommandprotected static final VariableSetter INSTANCE
public char option()
OptionHandleroption 在接口中 OptionHandlerpublic void runWithParameter(String cmd, String optionParameter, List<String> argItems, Interpreter interpreter)
OptionHandlerrunWithParameter 在接口中 OptionHandlercmd - 命令名optionParameter - 额外的参数argItems - 命令参数项,已经使用空格分隔成列表interpreter - 可以执行命令的解释器,由框架注入Copyright © 2021. All rights reserved.