public class HelpHelpGoalExecutor extends Object implements CommandGoalExecutor
BASICDANCE, COMMANDDESPOS, COMMANDGOALDESPOS, COMMANDGOALPARAMDESPOS, COMMANDGOALPARAMPOS, COMMANDGOALPOS
Constructor and Description |
---|
HelpHelpGoalExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
execute(CommandSystem commandSystem,
Context context) |
String |
getCommand() |
String |
getGoal() |
String |
getParameter() |
boolean |
isShowDetail() |
boolean |
isShowGoal() |
boolean |
isShowParameter() |
void |
printCommandGoalParams(CommandGoal commandGoal,
CommandSystem commandSystem) |
void |
printCommandGoals(Command cmd,
CommandSystem commandSystem)
输出子命令
|
void |
setCommand(String command) |
void |
setGoal(String goal) |
void |
setParameter(String parameter) |
void |
setShowDetail(boolean showDetail) |
void |
setShowGoal(boolean showGoal) |
void |
setShowParameter(boolean showParameter) |
public String getParameter()
public void setParameter(String parameter)
public boolean isShowParameter()
public void setShowParameter(boolean showParameter)
public String getGoal()
public void setGoal(String goal)
public String getCommand()
public void setCommand(String command)
public boolean isShowDetail()
public void setShowDetail(boolean showDetail)
public boolean isShowGoal()
public void setShowGoal(boolean showGoal)
public void execute(CommandSystem commandSystem, Context context)
execute
in interface CommandGoalExecutor
public void printCommandGoals(Command cmd, CommandSystem commandSystem)
commandGoal
- commandSystem
- public void printCommandGoalParams(CommandGoal commandGoal, CommandSystem commandSystem)
Copyright © 2006–2018 TinyGroup. All rights reserved.