Package org.testng.xml
Class XmlPackage
- java.lang.Object
-
- org.testng.xml.XmlPackage
-
public class XmlPackage extends java.lang.Object
This class describes the tagin testng.xml.
-
-
Constructor Summary
Constructors Constructor Description XmlPackage()
XmlPackage(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<java.lang.String>
getExclude()
java.util.List<java.lang.String>
getInclude()
java.lang.String
getName()
java.util.List<XmlClass>
getXmlClasses()
int
hashCode()
void
setExclude(java.util.List<java.lang.String> exclude)
void
setInclude(java.util.List<java.lang.String> include)
void
setName(java.lang.String name)
java.lang.String
toXml(java.lang.String indent)
-
-
-
Method Detail
-
getExclude
public java.util.List<java.lang.String> getExclude()
- Returns:
- the exclude
-
setExclude
public void setExclude(java.util.List<java.lang.String> exclude)
- Parameters:
exclude
- the exclude to set
-
getInclude
public java.util.List<java.lang.String> getInclude()
- Returns:
- the include
-
setInclude
public void setInclude(java.util.List<java.lang.String> include)
- Parameters:
include
- the include to set
-
getName
public java.lang.String getName()
- Returns:
- the name
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- the name to set
-
getXmlClasses
public java.util.List<XmlClass> getXmlClasses()
-
toXml
public java.lang.String toXml(java.lang.String indent)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-