org.activiti.engine.impl.scripting
类 ScriptBindings

java.lang.Object
  继承者 org.activiti.engine.impl.scripting.ScriptBindings
所有已实现的接口:
Map<String,Object>, Bindings

public class ScriptBindings
extends Object
implements Bindings

作者:
Tom Baeyens, Joram Barrez

嵌套类摘要
 
从接口 java.util.Map 继承的嵌套类/接口
Map.Entry<K,V>
 
字段摘要
protected  Bindings defaultBindings
           
protected  List<Resolver> scriptResolvers
           
protected  boolean storeScriptVariables
           
protected static Set<String> UNSTORED_KEYS
          The script engine implementations put some key/value pairs into the binding.
protected  VariableScope variableScope
           
 
构造方法摘要
ScriptBindings(List<Resolver> scriptResolvers, VariableScope variableScope)
           
ScriptBindings(List<Resolver> scriptResolvers, VariableScope variableScope, boolean storeScriptVariables)
           
 
方法摘要
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<String,Object>> entrySet()
           
 Object get(Object key)
           
 boolean isEmpty()
           
 Set<String> keySet()
           
 Object put(String name, Object value)
           
 void putAll(Map<? extends String,? extends Object> toMerge)
           
 Object remove(Object key)
           
 int size()
           
 Collection<Object> values()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 java.util.Map 继承的方法
equals, hashCode
 

字段详细信息

UNSTORED_KEYS

protected static final Set<String> UNSTORED_KEYS
The script engine implementations put some key/value pairs into the binding. This list contains those keys, such that they wouldn't be stored as process variable. This list contains the keywords for JUEL, Javascript and Groovy.


scriptResolvers

protected List<Resolver> scriptResolvers

variableScope

protected VariableScope variableScope

defaultBindings

protected Bindings defaultBindings

storeScriptVariables

protected boolean storeScriptVariables
构造方法详细信息

ScriptBindings

public ScriptBindings(List<Resolver> scriptResolvers,
                      VariableScope variableScope)

ScriptBindings

public ScriptBindings(List<Resolver> scriptResolvers,
                      VariableScope variableScope,
                      boolean storeScriptVariables)
方法详细信息

containsKey

public boolean containsKey(Object key)
指定者:
接口 Map<String,Object> 中的 containsKey
指定者:
接口 Bindings 中的 containsKey

get

public Object get(Object key)
指定者:
接口 Map<String,Object> 中的 get
指定者:
接口 Bindings 中的 get

put

public Object put(String name,
                  Object value)
指定者:
接口 Map<String,Object> 中的 put
指定者:
接口 Bindings 中的 put

entrySet

public Set<Map.Entry<String,Object>> entrySet()
指定者:
接口 Map<String,Object> 中的 entrySet

keySet

public Set<String> keySet()
指定者:
接口 Map<String,Object> 中的 keySet

size

public int size()
指定者:
接口 Map<String,Object> 中的 size

values

public Collection<Object> values()
指定者:
接口 Map<String,Object> 中的 values

putAll

public void putAll(Map<? extends String,? extends Object> toMerge)
指定者:
接口 Map<String,Object> 中的 putAll
指定者:
接口 Bindings 中的 putAll

remove

public Object remove(Object key)
指定者:
接口 Map<String,Object> 中的 remove
指定者:
接口 Bindings 中的 remove

clear

public void clear()
指定者:
接口 Map<String,Object> 中的 clear

containsValue

public boolean containsValue(Object value)
指定者:
接口 Map<String,Object> 中的 containsValue

isEmpty

public boolean isEmpty()
指定者:
接口 Map<String,Object> 中的 isEmpty


Copyright © 2013 Alfresco. All rights reserved.