Class SecureScriptScope

java.lang.Object
org.flowable.scripting.secure.impl.SecureScriptScope
All Implemented Interfaces:
org.mozilla.javascript.Scriptable

public class SecureScriptScope extends Object implements org.mozilla.javascript.Scriptable
Author:
Joram Barrez
  • Field Details

    • variableContainer

      protected org.flowable.common.engine.api.variable.VariableContainer variableContainer
    • beans

      protected Map<Object,Object> beans
  • Constructor Details

    • SecureScriptScope

      public SecureScriptScope(org.flowable.common.engine.api.variable.VariableContainer variableScope, Map<Object,Object> beans)
  • Method Details

    • getClassName

      public String getClassName()
      Specified by:
      getClassName in interface org.mozilla.javascript.Scriptable
    • get

      public Object get(String s, org.mozilla.javascript.Scriptable scriptable)
      Specified by:
      get in interface org.mozilla.javascript.Scriptable
    • get

      public Object get(int i, org.mozilla.javascript.Scriptable scriptable)
      Specified by:
      get in interface org.mozilla.javascript.Scriptable
    • has

      public boolean has(String s, org.mozilla.javascript.Scriptable scriptable)
      Specified by:
      has in interface org.mozilla.javascript.Scriptable
    • has

      public boolean has(int i, org.mozilla.javascript.Scriptable scriptable)
      Specified by:
      has in interface org.mozilla.javascript.Scriptable
    • put

      public void put(String s, org.mozilla.javascript.Scriptable scriptable, Object o)
      Specified by:
      put in interface org.mozilla.javascript.Scriptable
    • put

      public void put(int i, org.mozilla.javascript.Scriptable scriptable, Object o)
      Specified by:
      put in interface org.mozilla.javascript.Scriptable
    • delete

      public void delete(String s)
      Specified by:
      delete in interface org.mozilla.javascript.Scriptable
    • delete

      public void delete(int i)
      Specified by:
      delete in interface org.mozilla.javascript.Scriptable
    • getPrototype

      public org.mozilla.javascript.Scriptable getPrototype()
      Specified by:
      getPrototype in interface org.mozilla.javascript.Scriptable
    • setPrototype

      public void setPrototype(org.mozilla.javascript.Scriptable scriptable)
      Specified by:
      setPrototype in interface org.mozilla.javascript.Scriptable
    • getParentScope

      public org.mozilla.javascript.Scriptable getParentScope()
      Specified by:
      getParentScope in interface org.mozilla.javascript.Scriptable
    • setParentScope

      public void setParentScope(org.mozilla.javascript.Scriptable scriptable)
      Specified by:
      setParentScope in interface org.mozilla.javascript.Scriptable
    • getIds

      public Object[] getIds()
      Specified by:
      getIds in interface org.mozilla.javascript.Scriptable
    • getDefaultValue

      public Object getDefaultValue(Class<?> aClass)
      Specified by:
      getDefaultValue in interface org.mozilla.javascript.Scriptable
    • hasInstance

      public boolean hasInstance(org.mozilla.javascript.Scriptable scriptable)
      Specified by:
      hasInstance in interface org.mozilla.javascript.Scriptable