Package com.adahas.tools.jmxeval.util

Examples of com.adahas.tools.jmxeval.util.ExprEval


   * @see Element#process(Context)
   */
  @Override
  public void process(final Context context) throws EvalException {
   
    final ExprEval exprEval = new ExprEval(replaceWithVars(context, expression));
    if (scale != null) {
      exprEval.setScale(Integer.parseInt(scale));
    }
    final Object result = exprEval.evaluate();
   
    // set result variable
    context.setVar(var, result);
   
    // process child elements
View Full Code Here

TOP

Related Classes of com.adahas.tools.jmxeval.util.ExprEval

Copyright © 2018 www.massapicom. 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.