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 java.lang.Object
get(java.lang.String identifier)
Return the value associated with the given identifier in this contextjava.lang.String
getName()
The unique name of this contextboolean
has(java.lang.String identifier)
Return true if the given identifier has an associated value in this contextvoid
remove(java.lang.String identifier)
Remove the value associated with the given identifier in this contextvoid
set(java.lang.String identifier, java.lang.Object value)
Set a value on this context with this given identifier
-
-
-
Method Detail
-
getName
java.lang.String getName()
The unique name of this context
-
get
java.lang.Object get(java.lang.String identifier)
Return the value associated with the given identifier in this context
-
set
void set(java.lang.String identifier, java.lang.Object value)
Set a value on this context with this given identifier
-
remove
void remove(java.lang.String identifier)
Remove the value associated with the given identifier in this context
-
has
boolean has(java.lang.String identifier)
Return true if the given identifier has an associated value in this context
-
-