程序包 org.xmeta
类 Bindings
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- org.xmeta.Bindings
-
-
字段概要
字段 修饰符和类型 字段 说明 booleandisableGloableContext是否关闭全局事物动作监听器,如果关闭子函数也都关闭Worldworld
-
构造器概要
构造器 构造器 说明 Bindings()构造一个空的StackMap。
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclearData(Object... keys)ObjectgetCaller()StringgetCallerMethod()Map<Thing,ActionContext>getContexts()ThinggetContextThing()ObjectgetData(Object... keys)Map<Object,Object>getDataMap()inthashCode()booleanisParameterScope()booleanisVarScopeFlag()ObjectremoveData(Object... keys)voidsetCaller(Object caller, String method)voidsetContextThing(Thing contextThing)设置上下文事物,上下文事物会在执行动作时加入到动作上下文中,动作上下文会在动作执行前和执行后执行相关动作。voidsetData(Object value, Object... keys)voidsetParameterScope(boolean parameterScope)voidsetVarScopeFlag()标记为本地变量栈层。StringtoString()-
从类继承的方法 java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
从类继承的方法 java.util.AbstractMap
equals
-
-
-
-
字段详细资料
-
world
public World world
-
disableGloableContext
public boolean disableGloableContext
是否关闭全局事物动作监听器,如果关闭子函数也都关闭
-
-
方法详细资料
-
isVarScopeFlag
public boolean isVarScopeFlag()
-
setVarScopeFlag
public void setVarScopeFlag()
标记为本地变量栈层。
-
getCaller
public Object getCaller()
-
getContexts
public Map<Thing,ActionContext> getContexts()
-
getCallerMethod
public String getCallerMethod()
-
hashCode
public int hashCode()
-
setContextThing
public void setContextThing(Thing contextThing)
设置上下文事物,上下文事物会在执行动作时加入到动作上下文中,动作上下文会在动作执行前和执行后执行相关动作。- 参数:
contextThing-
-
getContextThing
public Thing getContextThing()
-
toString
public String toString()
- 覆盖:
toString在类中AbstractMap<String,Object>
-
isParameterScope
public boolean isParameterScope()
-
setParameterScope
public void setParameterScope(boolean parameterScope)
-
clearData
public void clearData(Object... keys)
-
-