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 properRuntimeEngine
instances 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 CaseContext
get(String caseIdentifier)
Returns new instance ofCaseContext
with case identifierString
getContextId()
-
-
-
Constructor Detail
-
CaseContext
public CaseContext(String caseIdentifier)
-
-
Method Detail
-
getContextId
public String getContextId()
- Specified by:
getContextId
in interfaceorg.kie.api.runtime.manager.Context<String>
-
get
public static CaseContext get(String caseIdentifier)
Returns new instance ofCaseContext
with case identifier- Parameters:
caseIdentifier
- unique case identifier- Returns:
-
-