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