public class Wetator
extends org.apache.tools.ant.Task
Task to execute Wetator tests within an Ant script.| Constructor and Description |
|---|
Wetator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(org.apache.tools.ant.taskdefs.Property aProperty)
Adds a property to the list of known properties.
|
void |
addSysproperty(org.apache.tools.ant.types.Environment.Variable aSystemProperty)
Adds a system property.
|
void |
addSyspropertyset(org.apache.tools.ant.types.PropertySet aSystemPropertySet)
Adds a system property set.
|
org.apache.tools.ant.types.Path |
createClasspath()
Lazy initialization for attribute classpath.
|
org.apache.tools.ant.types.FileSet |
createFileSet()
Creates a new file set and stores it in attribute fileset.
|
void |
execute()
The main method called by Ant.
|
protected java.lang.String |
getConfig() |
java.lang.String |
getFailureProperty() |
protected org.apache.tools.ant.types.FileSet |
getFileset() |
protected java.util.Map<java.lang.String,java.lang.String> |
getPropertiesFromAnt()
Reads and returns the properties from Ant project and from Wetator task.
|
boolean |
isHaltOnFailure() |
protected java.util.Properties |
mergeSystemProperties()
Merges the system properties from
the original system properties
the system properties line
the system property sets
the system properties
but does not set them.
|
void |
setConfig(java.lang.String aConfig) |
void |
setFailureProperty(java.lang.String aFailureProperty) |
void |
setHaltOnFailure(boolean aHaltOnFailure) |
void |
setSysproperties(java.lang.String aSystemPropertiesLine) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void execute()
execute in class org.apache.tools.ant.Taskprotected java.lang.String getConfig()
public void setConfig(java.lang.String aConfig)
aConfig - the new configprotected org.apache.tools.ant.types.FileSet getFileset()
public org.apache.tools.ant.types.FileSet createFileSet()
public org.apache.tools.ant.types.Path createClasspath()
public void addProperty(org.apache.tools.ant.taskdefs.Property aProperty)
aProperty - the new propertyprotected java.util.Map<java.lang.String,java.lang.String> getPropertiesFromAnt()
public void setSysproperties(java.lang.String aSystemPropertiesLine)
aSystemPropertiesLine - system properties as one linepublic void addSysproperty(org.apache.tools.ant.types.Environment.Variable aSystemProperty)
aSystemProperty - the new propertypublic void addSyspropertyset(org.apache.tools.ant.types.PropertySet aSystemPropertySet)
aSystemPropertySet - the new propertyprotected java.util.Properties mergeSystemProperties()
public boolean isHaltOnFailure()
public void setHaltOnFailure(boolean aHaltOnFailure)
aHaltOnFailure - the haltOnFailure to setpublic java.lang.String getFailureProperty()
public void setFailureProperty(java.lang.String aFailureProperty)
aFailureProperty - the failureProperty to set