public final class BackstageTask extends Object implements OptionHandle
| 限定符和类型 | 字段和说明 |
|---|---|
protected static BackstageTask |
INSTANCE |
| 构造器和说明 |
|---|
BackstageTask() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 BackstageTask INSTANCE
public char option()
OptionHandleoption 在接口中 OptionHandlepublic void runWithParameter(String cmd, String optionParameter, List<String> argItems, Interpreter interpreter)
OptionHandlerunWithParameter 在接口中 OptionHandlecmd - 命令名optionParameter - 额外的参数argItems - 命令参数项,已经使用空格分隔成列表interpreter - 可以执行命令的解释器Copyright © 2021. All rights reserved.