//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.2-b01-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.08.03 at 06:49:54 AM PDT
//
package org.ebayopensource.turmeric.common.config;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java class for HandlerConfig complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="HandlerConfig">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="class-name" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
* <element name="options" type="{http://www.ebayopensource.org/turmeric/common/config}OptionList" minOccurs="0"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="presence" type="{http://www.ebayopensource.org/turmeric/common/config}PresenceConfig" />
* <attribute name="continue-on-error" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="run-on-error" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HandlerConfig", propOrder = {
"className",
"options"
})
public class HandlerConfig {
@XmlElement(name = "class-name")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected String className;
protected OptionList options;
@XmlAttribute(required = true)
protected String name;
@XmlAttribute
protected PresenceConfig presence;
@XmlAttribute(name = "continue-on-error")
protected Boolean continueOnError;
@XmlAttribute(name = "run-on-error")
protected Boolean runOnError;
/**
* Gets the value of the className property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClassName() {
return className;
}
/**
* Sets the value of the className property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClassName(String value) {
this.className = value;
}
/**
* Gets the value of the options property.
*
* @return
* possible object is
* {@link OptionList }
*
*/
public OptionList getOptions() {
return options;
}
/**
* Sets the value of the options property.
*
* @param value
* allowed object is
* {@link OptionList }
*
*/
public void setOptions(OptionList value) {
this.options = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the presence property.
*
* @return
* possible object is
* {@link PresenceConfig }
*
*/
public PresenceConfig getPresence() {
return presence;
}
/**
* Sets the value of the presence property.
*
* @param value
* allowed object is
* {@link PresenceConfig }
*
*/
public void setPresence(PresenceConfig value) {
this.presence = value;
}
/**
* Gets the value of the continueOnError property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isContinueOnError() {
return continueOnError;
}
/**
* Sets the value of the continueOnError property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setContinueOnError(Boolean value) {
this.continueOnError = value;
}
/**
* Gets the value of the runOnError property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRunOnError() {
return runOnError;
}
/**
* Sets the value of the runOnError property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRunOnError(Boolean value) {
this.runOnError = value;
}
}