ScriptBindings

脚本运行时需要的对象集合.

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract override fun close()

关闭当前对象, 如果没有调用本方法则会报错, 当然本方法由系统调用, 不需要手动调用.

Link copied to clipboard
abstract fun getActivity(): Activity

获取 Activity 对象.

Link copied to clipboard
abstract fun getArrays(): Arrays

获取 Arrays 对象.

Link copied to clipboard
abstract fun getBranches(): Branches

获取 Branches 对象.

Link copied to clipboard
abstract fun getConsole(): Console

获取 Console 对象.

Link copied to clipboard
abstract fun getContext(): ScriptContext

获取脚本上下文对象 ScriptContext.

Link copied to clipboard
abstract fun getDateTimes(): DateTimes

获取 DateTimes 对象.

Link copied to clipboard
abstract fun getEvents(): Events

获取 Events 对象.

Link copied to clipboard
abstract fun getExceptions(): Exceptions

获取 Exceptions 对象.

Link copied to clipboard
abstract fun getFiles(): Files

获取 Files 对象.

Link copied to clipboard
abstract fun getIterables(): Iterables

获取 Iterables 对象.

Link copied to clipboard
abstract fun getLoops(): Loops

获取 Loops 对象.

Link copied to clipboard
abstract fun getMaps(): Maps

获取 Maps 对象.

Link copied to clipboard

获取 ObjectWrappers 对象.

Link copied to clipboard
abstract fun getPlugins(): Plugins

获取 Plugins 对象.

Link copied to clipboard
abstract fun getReflectors(): Reflectors

获取 Reflectors 对象.

Link copied to clipboard
abstract fun getSequences(): Sequences

获取 Sequences 对象.

Link copied to clipboard
abstract fun getVariables(): List<Variable>

获取所有全局变量.

Link copied to clipboard
Link copied to clipboard

获取 WebResources 对象.

Link copied to clipboard
abstract fun getWebView(): WebView

获取 WebView 对象.

Link copied to clipboard
abstract fun isClosed(): Boolean

判断当前对象是否已经调用了 close 方法.