Struct dmntk_workspace::Workspace
source · [−]pub struct Workspace { /* private fields */ }
Expand description
Structure representing the container for DMN™ models.
Implementations
Deletes all definitions and model evaluators,
switches a workspace to state STASHING
.
Adds a definition to workspace, deletes all model evaluators,
switches a workspace to state STASHING
.
Removes a definition from workspace, deletes all model evaluators,
switches a workspace to state STASHING
.
Replaces a definition in workspace, deletes all model evaluators,
switches a workspace to state STASHING
.
Creates model evaluators for all definitions in workspace,
switches a workspace to state DEPLOYED
.
pub fn evaluate_invocable(
&self,
model_name: &str,
invocable_name: &str,
input_data: &FeelContext
) -> Result<Value>
pub fn evaluate_invocable(
&self,
model_name: &str,
invocable_name: &str,
input_data: &FeelContext
) -> Result<Value>
Evaluates invocable (decision, business knowledge model or decision service) deployed in workspace.