Package org.testng.xml
Class XmlInclude
- java.lang.Object
-
- org.testng.xml.XmlInclude
-
public class XmlInclude extends Object
-
-
Constructor Summary
Constructors Constructor Description XmlInclude(String n)
XmlInclude(String n, int index)
XmlInclude(String n, List<Integer> list, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addParameter(String name, String value)
boolean
equals(Object obj)
Map<String,String>
getAllParameters()
String
getDescription()
int
getIndex()
List<Integer>
getInvocationNumbers()
Map<String,String>
getLocalParameters()
String
getName()
Map<String,String>
getParameters()
Deprecated.UsegetLocalParameters()
orgetAllParameters()
int
hashCode()
void
setDescription(String description)
void
setParameters(Map<String,String> parameters)
void
setXmlClass(XmlClass xmlClass)
String
toXml(String indent)
-
-
-
Method Detail
-
setDescription
public void setDescription(String description)
-
getDescription
public String getDescription()
-
getName
public String getName()
-
getIndex
public int getIndex()
-
getParameters
@Deprecated public Map<String,String> getParameters()
Deprecated.UsegetLocalParameters()
orgetAllParameters()
-
getLocalParameters
public Map<String,String> getLocalParameters()
- Returns:
- the parameters defined in this test tag, and only this test tag. To retrieve
the inherited parameters as well, call
getAllParameters()
.
-
getAllParameters
public Map<String,String> getAllParameters()
- Returns:
- the parameters defined in this tag and the tags above it.
-
setXmlClass
public void setXmlClass(XmlClass xmlClass)
-
-