org.testng.internal.annotations
Class FactoryAnnotation

java.lang.Object
  extended by org.testng.internal.annotations.BaseAnnotation
      extended by org.testng.internal.annotations.FactoryAnnotation
All Implemented Interfaces:
IAnnotation, IFactory, IParameterizable

public class FactoryAnnotation
extends BaseAnnotation
implements IFactory

An implementation of IFactory Created on Dec 20, 2005

Author:
Cedric Beust

Constructor Summary
FactoryAnnotation()
           
 
Method Summary
 java.lang.String getDataProvider()
           
 java.lang.String[] getParameters()
          The list of variables used to fill the parameters of this method.
 void setDataProvider(java.lang.String dataProvider)
           
 void setParameters(java.lang.String[] parameters)
           
 
Methods inherited from class org.testng.internal.annotations.BaseAnnotation
getConstructor, getMethod, getTestClass, setConstructor, setMethod, setTestClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryAnnotation

public FactoryAnnotation()
Method Detail

getDataProvider

public java.lang.String getDataProvider()
Specified by:
getDataProvider in interface IFactory

setDataProvider

public void setDataProvider(java.lang.String dataProvider)

getParameters

public java.lang.String[] getParameters()
Description copied from interface: IParameterizable
The list of variables used to fill the parameters of this method. These variables must be defined in the property file.

Specified by:
getParameters in interface IParameterizable

setParameters

public void setParameters(java.lang.String[] parameters)


Copyright © 2010. All Rights Reserved.