A B C D E F G I J M N O P Q R S T V X

A

AntTestSetGenUtil - class net.sourceforge.anttestsetgen.AntTestSetGenUtil.
The AntTestSetGenUtil class contains a number of simple utility functions.
AntTestSetGenUtil() - Constructor for class net.sourceforge.anttestsetgen.AntTestSetGenUtil
 
addConfiguredEntry(Entry) - Method in class net.sourceforge.anttestsetgen.TestSet
Add a entry to the testset.
addConfiguredOutput(Output) - Method in class net.sourceforge.anttestsetgen.TestSetGenerator
Add a new output type.
addConfiguredParameter(Parameter) - Method in class net.sourceforge.anttestsetgen.Validation
Add a fully configured validation parameter.
addConfiguredQuery(Query) - Method in class net.sourceforge.anttestsetgen.TestSet
Add a Query to the TestSet.
addConfiguredTestSet(TestSet) - Method in class net.sourceforge.anttestsetgen.TestSetGenerator
Add a TestSet to the TestSetGenerator.
addConfiguredValidation(Validation) - Method in class net.sourceforge.anttestsetgen.TestSet
Add an Configured Validation to this TestSet.
addText(String) - Method in class net.sourceforge.anttestsetgen.Query
Add a line of text to the query.

B

BroadBandValidator - class net.sourceforge.anttestsetgen.sample.BroadBandValidator.
Example of a TestSetValidator plug-in.
BroadBandValidator() - Constructor for class net.sourceforge.anttestsetgen.sample.BroadBandValidator
 

C

convertPackageToPath(String, String) - Static method in class net.sourceforge.anttestsetgen.AntTestSetGenUtil
Convert a Java package name to a full path name.

D

directoryExists(String) - Static method in class net.sourceforge.anttestsetgen.AntTestSetGenUtil
Check if a path exists Either '/' or '\' should be used as a path seperator.

E

Entry - class net.sourceforge.anttestsetgen.Entry.
The Entry object describes how a database column is mapped to a key in the property file.
Entry() - Constructor for class net.sourceforge.anttestsetgen.Entry
Default constructor.
execute() - Method in class net.sourceforge.anttestsetgen.TestSetGenerator
Execute the TestSetGenerator task.

F

fileExists(String) - Static method in class net.sourceforge.anttestsetgen.AntTestSetGenUtil
Check if a file exists in the file system.

G

generateTestSet(Connection) - Method in class net.sourceforge.anttestsetgen.TestSet
Generate a testset.
getClassName() - Method in class net.sourceforge.anttestsetgen.Output
Retrieve the name of the Java class to be generated.
getClassname() - Method in class net.sourceforge.anttestsetgen.Validation
Retrieve the fully qualified name of the validation class.
getColumn() - Method in class net.sourceforge.anttestsetgen.Entry
Retrieve the name of the database column.
getColumn() - Method in class net.sourceforge.anttestsetgen.Parameter
Retrieve the column of the parameter.
getCreateproperty() - Method in class net.sourceforge.anttestsetgen.Entry
Retrieve the createproperty flag to find out if a new ant property has to be created.
getDatabaseValue(ResultSet) - Method in class net.sourceforge.anttestsetgen.Parameter
Retrieve the database value of the parameter

The value is retrieved based on the supplied resulset.

getDestination() - Method in class net.sourceforge.anttestsetgen.Output
Retrieve the destination.
getEntries() - Method in class net.sourceforge.anttestsetgen.TestSet
Retrieve of the entries of the TestSet.
getFile() - Method in class net.sourceforge.anttestsetgen.Output
Retrieve the name of the file to be generated.
getJavaType() - Method in class net.sourceforge.anttestsetgen.Entry
Retrieve the type of the Entry that should be used when generating Java code.
getKey() - Method in class net.sourceforge.anttestsetgen.Entry
Retrieve the name of the key.
getName() - Method in class net.sourceforge.anttestsetgen.Parameter
Retrieve the name of the parameter.
getName() - Method in class net.sourceforge.anttestsetgen.TestSet
Retreive the name attribute.
getOutputs() - Method in class net.sourceforge.anttestsetgen.TestSetGenerator
Retrieve a list with output types.
getPackageName() - Method in class net.sourceforge.anttestsetgen.Output
Retrieve the name of the java package
getParameters() - Method in class net.sourceforge.anttestsetgen.Validation
Retrieve the validation parameters.
getQuery() - Method in class net.sourceforge.anttestsetgen.TestSet
Retrieve the query from the TestSet.
getRoot() - Method in class net.sourceforge.anttestsetgen.Output
Retrieve the name of the root of the XML-message.
getRowtoselect() - Method in class net.sourceforge.anttestsetgen.TestSet
Retrieve the rowtoselect attribute.
getTestSets() - Method in class net.sourceforge.anttestsetgen.TestSetGenerator
Retrieve the TestSets that are in this TestSetGenerator.
getUniqueEntriesInTestSet() - Method in class net.sourceforge.anttestsetgen.TestSet
Retrieve a list with all the unique entries in the test set.
getValidation() - Method in class net.sourceforge.anttestsetgen.TestSet
Retrieve the validation class.
getValues() - Method in class net.sourceforge.anttestsetgen.Entry
Retrieve the testset values.
getXmlType() - Method in class net.sourceforge.anttestsetgen.Entry
Retrieve the type of the Entry that should be used when generating an XML message.

I

isValid() - Method in interface net.sourceforge.anttestsetgen.TestSetValidator
Validate the supplied parameters.
isValid(ResultSet) - Method in class net.sourceforge.anttestsetgen.Validation
Validate parameters by the external validator by using the results from the database.
isValid() - Method in class net.sourceforge.anttestsetgen.sample.BroadBandValidator
Validate the parameters.

J

JavaRenderer - class net.sourceforge.anttestsetgen.renderer.JavaRenderer.
 
JavaRenderer() - Constructor for class net.sourceforge.anttestsetgen.renderer.JavaRenderer
 

M

mkdirs(String) - Static method in class net.sourceforge.anttestsetgen.AntTestSetGenUtil
Create one or more directories.

N

net.sourceforge.anttestsetgen - package net.sourceforge.anttestsetgen
The TestSetGenerator is an ant task for generating property files with testsets based on the results of SQL queries and validation plug-ins.
net.sourceforge.anttestsetgen.renderer - package net.sourceforge.anttestsetgen.renderer
This package contains the Renderer interface and a number of implementations of this interface.
net.sourceforge.anttestsetgen.sample - package net.sourceforge.anttestsetgen.sample
A sample validation plugin to demonstrate how to implement the TestSetValidator.

O

Output - class net.sourceforge.anttestsetgen.Output.
The Output object describes how the TestSetGenerator should generate files.
Output() - Constructor for class net.sourceforge.anttestsetgen.Output
 
onlyxml() - Method in class net.sourceforge.anttestsetgen.Output
Check if only xml should be generated, and no java code.

P

Parameter - class net.sourceforge.anttestsetgen.Parameter.
A Parameter of a Validation subtask.
Parameter() - Constructor for class net.sourceforge.anttestsetgen.Parameter
 
PropertyFileRenderer - class net.sourceforge.anttestsetgen.renderer.PropertyFileRenderer.
This renderer generates a property file with the standard key/value format.
PropertyFileRenderer() - Constructor for class net.sourceforge.anttestsetgen.renderer.PropertyFileRenderer
 
printGroupHeader(PrintWriter, String, String) - Static method in class net.sourceforge.anttestsetgen.renderer.PropertyFileRenderer
Print a group header in the property file.
processResult(ResultSet, TestSet) - Method in class net.sourceforge.anttestsetgen.Entry
Process the ResultSet to determine the values of the testset.

Q

Query - class net.sourceforge.anttestsetgen.Query.
The query object contains the query that will be executed to retrieve the results from the database.
Query() - Constructor for class net.sourceforge.anttestsetgen.Query
 

R

Renderer - interface net.sourceforge.anttestsetgen.renderer.Renderer.
The Renderer Interface defines the interface between the TestSetGenerator and the different renderers that are used for generating output in different formats (e.g.
readFile(String) - Static method in class net.sourceforge.anttestsetgen.AntTestSetGenUtil
Read a file from disk and place the content in a String.
removeDirectory(String) - Static method in class net.sourceforge.anttestsetgen.AntTestSetGenUtil
Remove one or more directories Either '/' or '\' should be used as a path seperator.
removeFile(String) - Static method in class net.sourceforge.anttestsetgen.AntTestSetGenUtil
Remove a file from the file system.
render(TestSetGenerator) - Method in class net.sourceforge.anttestsetgen.Output
Render the content of the TestSetGenerator to this output type.
render(TestSetGenerator, Output) - Method in class net.sourceforge.anttestsetgen.renderer.JavaRenderer
 
render(TestSetGenerator, Output) - Method in class net.sourceforge.anttestsetgen.renderer.PropertyFileRenderer
 
render(TestSetGenerator, Output) - Method in interface net.sourceforge.anttestsetgen.renderer.Renderer
Render the content of the TestSetGenerator to the given output.
render(TestSetGenerator, Output) - Method in class net.sourceforge.anttestsetgen.renderer.XMLRenderer
 
requiredCheck(String, String) - Static method in class net.sourceforge.anttestsetgen.AntTestSetGenUtil
Check if a required property is set.

S

SELECT_ALL - Static variable in class net.sourceforge.anttestsetgen.TestSet
Select all valid rows from the result set.
SELECT_FIRST_ROW - Static variable in class net.sourceforge.anttestsetgen.TestSet
Select the first valid row from the result set.
setClassName(String) - Method in class net.sourceforge.anttestsetgen.Output
Set the name of the Java class to be generated.
setClassname(String) - Method in class net.sourceforge.anttestsetgen.Validation
Set the fully qualified name of the validation class.
setColumn(String) - Method in class net.sourceforge.anttestsetgen.Entry
Set the name of the database column.
setColumn(String) - Method in class net.sourceforge.anttestsetgen.Parameter
Set the column of the parameter.
setCreateproperty(String) - Method in class net.sourceforge.anttestsetgen.Entry
Set createproperty flag to indicate that also a new ant property has to be created.
setDestination(String) - Method in class net.sourceforge.anttestsetgen.Output
Set the destination where the files should be generated.
setFile(String) - Method in class net.sourceforge.anttestsetgen.Output
Set the name of the file to be generated.
setKey(String) - Method in class net.sourceforge.anttestsetgen.Entry
Set the name of the key in the poperty file.
setName(String) - Method in class net.sourceforge.anttestsetgen.Parameter
Set the name of the parameter.
setName(String) - Method in class net.sourceforge.anttestsetgen.TestSet
Set the name attribute.
setOnlyxml(String) - Method in class net.sourceforge.anttestsetgen.Output
Set the 'Generate Only XML' flag.
setPackageName(String) - Method in class net.sourceforge.anttestsetgen.Output
Set the name of the java package.
setParameter(String, String) - Method in interface net.sourceforge.anttestsetgen.TestSetValidator
Set a parameter of the custom validator.
setParameter(String, String) - Method in class net.sourceforge.anttestsetgen.sample.BroadBandValidator
Set a parameter of the validator.
setRoot(String) - Method in class net.sourceforge.anttestsetgen.Output
Set the name of the root of the XML-message.
setRowtoselect(String) - Method in class net.sourceforge.anttestsetgen.TestSet
Set the rowtoselect attribute.
setType(String) - Method in class net.sourceforge.anttestsetgen.Entry
Set the type of the Entry.
setType(String) - Method in class net.sourceforge.anttestsetgen.Output
Set the type of outputfile that should be generated.

T

TestSet - class net.sourceforge.anttestsetgen.TestSet.
A TestSet contains the description of a test set.
TestSet() - Constructor for class net.sourceforge.anttestsetgen.TestSet
 
TestSetGenerator - class net.sourceforge.anttestsetgen.TestSetGenerator.
The TestSetGenerator is an extension to Ant.
TestSetGenerator() - Constructor for class net.sourceforge.anttestsetgen.TestSetGenerator
 
TestSetValidator - interface net.sourceforge.anttestsetgen.TestSetValidator.
The TestSetValidator interface is the extension point of the TestSetGenerator

By implementing this interface customer made validators can be implemented.

toString() - Method in class net.sourceforge.anttestsetgen.Query
Retrieve the query as a string and replace properties.

V

VALID_CITY - Static variable in class net.sourceforge.anttestsetgen.sample.BroadBandValidator
The city that supports ADSL.
VALID_STREET - Static variable in class net.sourceforge.anttestsetgen.sample.BroadBandValidator
The street that supports ADSL.
Validation - class net.sourceforge.anttestsetgen.Validation.
A Validation contains the configuration of an external validator plug-in.
Validation() - Constructor for class net.sourceforge.anttestsetgen.Validation
 

X

XMLRenderer - class net.sourceforge.anttestsetgen.renderer.XMLRenderer.
 
XMLRenderer() - Constructor for class net.sourceforge.anttestsetgen.renderer.XMLRenderer
 

A B C D E F G I J M N O P Q R S T V X

Copyright © 2003-2004 Marco Jansen (Contrado Technologies). All Rights Reserved.