public abstract class SystemCommandHandler extends Object implements CommandHandler
Constructor and Description |
---|
SystemCommandHandler() |
Modifier and Type | Method and Description |
---|---|
void |
afterExecute(Context context)
命令后置操作
|
void |
beforeExecute(Context context)
命令前置操作
|
protected void |
dealExitEvent(String command,
MenuConfig config,
Context context)
执行退出操作
|
protected abstract void |
execute(String command,
SystemCommand systemCommand,
MenuConfig config,
Context context)
执行相关菜单逻辑,保存渲染路径和跳转菜单id
|
protected String |
getRenderPath(SystemCommand systemCommand,
Context context) |
public void beforeExecute(Context context)
CommandHandler
beforeExecute
in interface CommandHandler
public void afterExecute(Context context)
CommandHandler
afterExecute
in interface CommandHandler
protected String getRenderPath(SystemCommand systemCommand, Context context)
protected void dealExitEvent(String command, MenuConfig config, Context context)
config
- context
- protected abstract void execute(String command, SystemCommand systemCommand, MenuConfig config, Context context)
command
- systemCommand
- config
- context
- Copyright © 2006–2018 TinyGroup. All rights reserved.