Class ExcelAntEvaluateCell

  • All Implemented Interfaces:
    Cloneable

    public class ExcelAntEvaluateCell
    extends org.apache.tools.ant.Task
    Instances of this class are used to evaluate a single cell. This is usually after some values have been set. The evaluation is actually performed by a WorkbookUtil instance. The evaluate() method of the WorkbookUtil class returns an EvaluationResult which encapsulates the results and information from the evaluation.
    • Constructor Detail

      • ExcelAntEvaluateCell

        public ExcelAntEvaluateCell()
    • Method Detail

      • setShowDelta

        public void setShowDelta​(boolean value)
      • showDelta

        protected boolean showDelta()
      • setCell

        public void setCell​(String cell)
      • setRequiredToPass

        public void setRequiredToPass​(boolean val)
      • requiredToPass

        protected boolean requiredToPass()
      • setExpectedValue

        public void setExpectedValue​(double expectedValue)
      • setPrecision

        public void setPrecision​(double precision)
      • setGlobalPrecision

        protected void setGlobalPrecision​(double prec)
      • getCell

        protected String getCell()
      • getExpectedValue

        protected double getExpectedValue()
      • getPrecision

        protected double getPrecision()
      • execute

        public void execute()
                     throws org.apache.tools.ant.BuildException
        Overrides:
        execute in class org.apache.tools.ant.Task
        Throws:
        org.apache.tools.ant.BuildException