bridge

Allows scripts to communicate between one another.

add

bridge.add(String key, Object value);

Adds a value to the bridge map. Providing a value is optional.

clear

bridge.clear();

Clears the bridge map.

get

Object value = bridge.get(String key);

Returns the value stored under a specified key.

has

boolean containsKey = bridge.has(String key);

Returns whether the bridge map contains a specified key.

remove

bridge.remove(String key);

Removes a value from the bridge map.

Last updated