Skip to content

BaseLibrary ​

com.jsmacrosce.jsmacros.core.library.BaseLibrary

Base class for registered script libraries. The registry constructs instances per profile by default; subclasses can instead use per-language or per-execution lifetimes.

Constructors ​

new BaseLibrary ​

new BaseLibrary(Core<?, ?> runner)#
Initializes this library with its associated core.

Parameters:

  • runner: core associated with this library

Fields ​

runner ​

runner: Core<?, ?>#
Core instance used to construct this library. It is exposed through the public field, but is internal infrastructure rather than a supported script API.