use of org.whole.lang.workflows.model.Variable in project whole by wholeplatform.
the class WorkflowsIDEInterpreterVisitor method visit.
@Override
public void visit(Breakpoint entity) {
setResult(null);
IBindingManager debugEnv = getBindings();
if (entity.getDisabled().wBooleanValue() || (debugEnv.wIsSet("debug#reportModeEnabled") && !debugEnv.wBooleanValue("debug#reportModeEnabled")) || (debugEnv.wIsSet("debug#debugModeEnabled") && !debugEnv.wBooleanValue("debug#debugModeEnabled")) || (debugEnv.wIsSet("debug#breakpointsEnabled") && !debugEnv.wBooleanValue("debug#breakpointsEnabled")))
return;
Condition condition = entity.getCondition();
if (!EntityUtils.isResolver(condition)) {
if (!BehaviorUtils.evaluatePredicate(condition, 0, debugEnv))
return;
}
Set<String> includeNames = new TreeSet<String>();
Variables variables = entity.getShowVariables();
if (Matcher.matchImpl(WorkflowsEntityDescriptorEnum.Variables, variables)) {
for (Variable variable : variables) includeNames.add(variable.getValue());
}
E4Utils.suspendOperation(SuspensionKind.BREAK, null, entity, debugEnv, includeNames);
}
Aggregations