Class CaseContext
- java.lang.Object
-
- org.kie.internal.runtime.manager.context.CaseContext
-
- All Implemented Interfaces:
org.kie.api.runtime.manager.Context<String>
public class CaseContext extends Object implements org.kie.api.runtime.manager.Context<String>
Context implementation to deliver capabilities to find properRuntimeEngineinstances based on case identifier. Use by strategy:- PerCase
get(String)to get context for case
-
-
Constructor Summary
Constructors Constructor Description CaseContext(String caseIdentifier)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CaseContextget(String caseIdentifier)Returns new instance ofCaseContextwith case identifierStringgetContextId()
-
-
-
Constructor Detail
-
CaseContext
public CaseContext(String caseIdentifier)
-
-
Method Detail
-
getContextId
public String getContextId()
- Specified by:
getContextIdin interfaceorg.kie.api.runtime.manager.Context<String>
-
get
public static CaseContext get(String caseIdentifier)
Returns new instance ofCaseContextwith case identifier- Parameters:
caseIdentifier- unique case identifier- Returns:
-
-