Package com.embabel.agent.spi
Interface ContextRepository
-
- All Implemented Interfaces:
public interface ContextRepositoryLoad a context
-
-
Method Summary
Modifier and Type Method Description abstract Contextcreate()Create an empty context with a generated ID. abstract ContextcreateWithId(String id)Create an empty context with the specified ID. abstract Contextsave(Context context)abstract ContextfindById(String id)abstract Unitdelete(Context context)-
-
Method Detail
-
createWithId
abstract Context createWithId(String id)
Create an empty context with the specified ID. Use this when you want deterministic context IDs (e.g., "userId-contextName").
-
-
-
-