BaseScope

abstract class BaseScope(driver: ExcelDriver)

Base class for all Excel DSL builders, providing thread-safety checks.

Excel generation is inherently sequential. This base class ensures that multiple threads do not attempt to write to the same builder concurrently.

Thread Safety: This class is NOT thread-safe for concurrent writes. It uses a [ReentrantLock] to detect and fail fast upon concurrent access from different threads, while allowing reentrant calls from the same thread.

Inheritors

Constructors

Link copied to clipboard
constructor(driver: ExcelDriver)