public class ActionContainer extends Object
| 构造器 | 说明 |
|---|---|
ActionContainer(Thing actions,
ActionContext actionContext) |
| 修饰符和类型 | 方法 | 说明 |
|---|---|---|
<T> T |
doAction(String name) |
|
<T> T |
doAction(String name,
Map<String,Object> parameters) |
|
<T> T |
doAction(String name,
ActionContext context) |
|
<T> T |
doAction(String name,
ActionContext context,
Object... parameters) |
|
<T> T |
doAction(String name,
ActionContext context,
Map<String,Object> parameters) |
|
<T> T |
execute(String name,
Object... parameters) |
|
ActionContext |
getActionContext() |
|
Thing |
getActionThing(String name) |
|
List<Thing> |
getActionThings() |
|
Thing |
getThing() |
|
String |
toString() |
public ActionContainer(Thing actions, ActionContext actionContext)
public Thing getThing()
public <T> T doAction(String name)
public <T> T doAction(String name, ActionContext context)
public <T> T doAction(String name, ActionContext context, Map<String,Object> parameters)
public <T> T doAction(String name, ActionContext context, Object... parameters)
public ActionContext getActionContext()
Copyright © 2018 xworker.org. All rights reserved.