Package org.kie.dmn.api.core
Interface DMNContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DMNContextclone()Objectget(String name)Map<String,Object>getAll()DMNMetadatagetMetadata()booleanisDefined(String name)voidpopScope()The current scope is pop-ed from the current scope stack.voidpushScope(String name, String namespace)Walks inside the current scope for the identifier `name`, using the supplied `namespace`, and push that as the new current scope.Optional<String>scopeNamespace()Returns the current namespace currently at the top of the scope stack, empty if the stack is empty.Objectset(String name, Object value)
-
-
-
Method Detail
-
isDefined
boolean isDefined(String name)
-
getMetadata
DMNMetadata getMetadata()
-
clone
DMNContext clone()
-
pushScope
void pushScope(String name, String namespace)
Walks inside the current scope for the identifier `name`, using the supplied `namespace`, and push that as the new current scope.- Parameters:
name-
-
popScope
void popScope()
The current scope is pop-ed from the current scope stack.
-
-