Class TestContentFolder

java.lang.Object
com.flowable.agent.engine.impl.util.TestContentFolder

public class TestContentFolder extends Object
Shared helper for sandboxing transient content items produced by agent test execution and one-off agent invocations. Items are saved under a per-run folder rooted at a single tenant-scoped folder named ROOT_FOLDER_NAME. The root persists across runs — only the per-run folder is deleted on cleanup, so cleanup failures cannot leak items at the content engine root.

The per-run folder name is <prefix>-<UUID>. Callers should pick a stable prefix (e.g. test-run, invocation) that distinguishes their scope from other callers using the same root.