Package org.apache.poi.ss.excelant
Class ExcelAntEvaluateCell
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.poi.ss.excelant.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.
-
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()protected StringgetCell()protected doubleprotected doubleprotected booleanvoidvoidsetExpectedValue(double expectedValue) protected voidsetGlobalPrecision(double prec) voidsetPrecision(double precision) voidsetRequiredToPass(boolean val) voidsetShowDelta(boolean value) protected voidprotected booleanMethods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
ExcelAntEvaluateCell
public ExcelAntEvaluateCell()
-
-
Method Details
-
setWorkbookUtil
-
setShowDelta
public void setShowDelta(boolean value) -
showDelta
protected boolean showDelta() -
setCell
-
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
-
getExpectedValue
protected double getExpectedValue() -
getPrecision
protected double getPrecision() -
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
getResult
-