com.sforce.soap.tooling.RunTestsRequest Maven / Gradle / Ivy
Show all versions of sforce-tooling-api Show documentation
package com.sforce.soap.tooling;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for RunTestsRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RunTestsRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="allTests" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="classes" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="namespace" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="packages" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RunTestsRequest", propOrder = {
"allTests",
"classes",
"namespace",
"packages"
})
public class RunTestsRequest {
protected boolean allTests;
protected List classes;
@XmlElement(required = true)
protected String namespace;
protected List packages;
/**
* Gets the value of the allTests property.
*
*/
public boolean isAllTests() {
return allTests;
}
/**
* Sets the value of the allTests property.
*
*/
public void setAllTests(boolean value) {
this.allTests = value;
}
/**
* Gets the value of the classes property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the classes property.
*
*
* For example, to add a new item, do as follows:
*
* getClasses().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getClasses() {
if (classes == null) {
classes = new ArrayList();
}
return this.classes;
}
/**
* Gets the value of the namespace property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNamespace() {
return namespace;
}
/**
* Sets the value of the namespace property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNamespace(String value) {
this.namespace = value;
}
/**
* Gets the value of the packages property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the packages property.
*
*
* For example, to add a new item, do as follows:
*
* getPackages().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getPackages() {
if (packages == null) {
packages = new ArrayList();
}
return this.packages;
}
}