ru.yandex.qatools.camelot.config.PluginsSource Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.10.05 at 05:58:51 PM UTC
//
package ru.yandex.qatools.camelot.config;
import java.io.Serializable;
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;
import ru.yandex.qatools.camelot.api.AppConfig;
/**
* Java class for PluginsSource complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PluginsSource">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="artifact" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="broker" type="{urn:config.camelot.qatools.yandex.ru}Broker" minOccurs="0"/>
* <element name="plugin" type="{urn:config.camelot.qatools.yandex.ru}Plugin" maxOccurs="unbounded"/>
* <element name="appConfig" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="0" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PluginsSource", propOrder = {
"artifact",
"broker",
"plugins",
"appConfig"
})
public class PluginsSource
implements Serializable
{
protected String artifact;
protected Broker broker;
@XmlElement(name = "plugin", required = true)
protected List plugins;
@XmlElement(type = Object.class)
protected AppConfig appConfig;
/**
* Gets the value of the artifact property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getArtifact() {
return artifact;
}
/**
* Sets the value of the artifact property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArtifact(String value) {
this.artifact = value;
}
/**
* Gets the value of the broker property.
*
* @return
* possible object is
* {@link Broker }
*
*/
public Broker getBroker() {
return broker;
}
/**
* Sets the value of the broker property.
*
* @param value
* allowed object is
* {@link Broker }
*
*/
public void setBroker(Broker value) {
this.broker = value;
}
/**
* Gets the value of the plugins 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 plugins property.
*
*
* For example, to add a new item, do as follows:
*
* getPlugins().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Plugin }
*
*
*/
public List getPlugins() {
if (plugins == null) {
plugins = new ArrayList();
}
return this.plugins;
}
/**
* Gets the value of the appConfig property.
*
* @return
* possible object is
* {@link Object }
*
*/
public AppConfig getAppConfig() {
return appConfig;
}
/**
* Sets the value of the appConfig property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setAppConfig(AppConfig value) {
this.appConfig = value;
}
}