Package org.olat.course.condition.interpreter

Examples of org.olat.course.condition.interpreter.ConditionInterpreter.evaluateCondition()


    userCourseEnv.getScoreAccounting().setEvaluatingCourseNode(this);
    if (scoreExpressionStr != null) {
      score = new Float(ci.evaluateCalculation(scoreExpressionStr));
    }
    if (passedExpressionStr != null) {
      passed = new Boolean(ci.evaluateCondition(passedExpressionStr));
    }
    ScoreEvaluation se = new ScoreEvaluation(score, passed);
    return se;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.