Package org.apache.poi.ss.excelant
Class ExcelAntTest
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.poi.ss.excelant.ExcelAntTest
- All Implemented Interfaces:
Cloneable
public class ExcelAntTest
extends org.apache.tools.ant.Task
This class represents a single test. In order for the test any and all
ExcelAntEvaluateCell evaluations must pass. Therefore it is recommended
that you use only 1 evaluator but you can use more if you choose.
-
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 TypeMethodDescriptionvoidaddEvaluate(ExcelAntEvaluateCell evaluator) voidaddHandler(ExcelAntHandlerTask handler) voidaddSetDouble(ExcelAntSetDoubleCell setter) voidaddSetFormula(ExcelAntSetFormulaCell setter) voidaddSetString(ExcelAntSetStringCell setter) booleanvoidexecute()protected LinkedList<ExcelAntEvaluateCell>getName()voidvoidsetPrecision(double precision) voidsetShowFailureDetail(boolean value) voidsetShowSuccessDetails(boolean details) voidsetWorkbookUtil(ExcelAntWorkbookUtil wbUtil) 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
-
ExcelAntTest
public ExcelAntTest()
-
-
Method Details
-
setPrecision
public void setPrecision(double precision) -
setWorkbookUtil
-
setShowFailureDetail
public void setShowFailureDetail(boolean value) -
setName
-
getName
-
setShowSuccessDetails
public void setShowSuccessDetails(boolean details) -
showSuccessDetails
public boolean showSuccessDetails() -
addSetDouble
-
addSetString
-
addSetFormula
-
addHandler
-
addEvaluate
-
getEvaluators
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
didTestPass
public boolean didTestPass()
-