Package org.kie.api.runtime
Interface Context
-
- All Known Subinterfaces:
RequestContext
public interface Context
The context of an execution
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
get(String identifier)
Return the value associated with the given identifier in this contextString
getName()
The unique name of this contextboolean
has(String identifier)
Return true if the given identifier has an associated value in this contextvoid
remove(String identifier)
Remove the value associated with the given identifier in this contextvoid
set(String identifier, Object value)
Set a value on this context with this given identifier
-
-
-
Method Detail
-
getName
String getName()
The unique name of this context
-
get
Object get(String identifier)
Return the value associated with the given identifier in this context
-
set
void set(String identifier, Object value)
Set a value on this context with this given identifier
-
remove
void remove(String identifier)
Remove the value associated with the given identifier in this context
-
has
boolean has(String identifier)
Return true if the given identifier has an associated value in this context
-
-