ru.yandex.qatools.camelot.config.Plugin 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Plugin complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Plugin">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice minOccurs="0">
* <element name="aggregator" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="processor" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </choice>
* <element name="resource" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="context" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="0" minOccurs="0"/>
* <element name="broker" type="{urn:config.camelot.qatools.yandex.ru}Broker" minOccurs="0"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="brokerConfig" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
* <attribute name="baseInputUri" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Plugin", propOrder = {
"processor",
"aggregator",
"resource",
"context",
"broker"
})
public class Plugin
implements Serializable
{
protected String processor;
protected String aggregator;
protected String resource;
@XmlElement(type = ru.yandex.qatools.camelot.config.PluginContext.class, required = true)
protected ru.yandex.qatools.camelot.config.PluginContext context;
protected Broker broker;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "source")
protected String source;
@XmlAttribute(name = "brokerConfig")
protected String brokerConfig;
@XmlAttribute(name = "baseInputUri")
protected String baseInputUri;
/**
* Gets the value of the processor property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProcessor() {
return processor;
}
/**
* Sets the value of the processor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProcessor(String value) {
this.processor = value;
}
/**
* Gets the value of the aggregator property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAggregator() {
return aggregator;
}
/**
* Sets the value of the aggregator property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAggregator(String value) {
this.aggregator = value;
}
/**
* Gets the value of the resource property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResource() {
return resource;
}
/**
* Sets the value of the resource property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResource(String value) {
this.resource = value;
}
/**
* Gets the value of the context property.
*
* @return
* possible object is
* {@link Object }
*
*/
public ru.yandex.qatools.camelot.config.PluginContext getContext() {
return context;
}
/**
* Sets the value of the context property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setContext(ru.yandex.qatools.camelot.config.PluginContext value) {
this.context = 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 id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the source property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSource() {
return source;
}
/**
* Sets the value of the source property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSource(String value) {
this.source = value;
}
/**
* Gets the value of the brokerConfig property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBrokerConfig() {
if (brokerConfig == null) {
return "";
} else {
return brokerConfig;
}
}
/**
* Sets the value of the brokerConfig property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBrokerConfig(String value) {
this.brokerConfig = value;
}
/**
* Gets the value of the baseInputUri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBaseInputUri() {
if (baseInputUri == null) {
return "";
} else {
return baseInputUri;
}
}
/**
* Sets the value of the baseInputUri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBaseInputUri(String value) {
this.baseInputUri = value;
}
}