org.datacleaner.monitor.jaxb.Schedule Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.08.12 at 03:01:53 PM CEST
//
package org.datacleaner.monitor.jaxb;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice minOccurs="0">
* <element name="manual-trigger" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="cron-expression" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="one-time" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="dependent-job" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="hot-folder" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </choice>
* <element name="distributed-execution" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="run-on-hadoop" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="variable-provider" type="{http://eobjects.org/datacleaner/schedule/1.0}variableProvider" minOccurs="0"/>
* <element name="alerts" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="alert" type="{http://eobjects.org/datacleaner/schedule/1.0}alert" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"manualTrigger",
"cronExpression",
"oneTime",
"dependentJob",
"hotFolder",
"distributedExecution",
"runOnHadoop",
"variableProvider",
"alerts"
})
@XmlRootElement(name = "schedule")
public class Schedule {
@XmlElement(name = "manual-trigger", defaultValue = "true")
protected Boolean manualTrigger;
@XmlElement(name = "cron-expression")
protected String cronExpression;
@XmlElement(name = "one-time")
protected String oneTime;
@XmlElement(name = "dependent-job")
protected String dependentJob;
@XmlElement(name = "hot-folder")
protected String hotFolder;
@XmlElement(name = "distributed-execution")
protected Boolean distributedExecution;
@XmlElement(name = "run-on-hadoop")
protected Boolean runOnHadoop;
@XmlElement(name = "variable-provider")
protected VariableProvider variableProvider;
protected Schedule.Alerts alerts;
/**
* Gets the value of the manualTrigger property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isManualTrigger() {
return manualTrigger;
}
/**
* Sets the value of the manualTrigger property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setManualTrigger(Boolean value) {
this.manualTrigger = value;
}
/**
* Gets the value of the cronExpression property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCronExpression() {
return cronExpression;
}
/**
* Sets the value of the cronExpression property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCronExpression(String value) {
this.cronExpression = value;
}
/**
* Gets the value of the oneTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOneTime() {
return oneTime;
}
/**
* Sets the value of the oneTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOneTime(String value) {
this.oneTime = value;
}
/**
* Gets the value of the dependentJob property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDependentJob() {
return dependentJob;
}
/**
* Sets the value of the dependentJob property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDependentJob(String value) {
this.dependentJob = value;
}
/**
* Gets the value of the hotFolder property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHotFolder() {
return hotFolder;
}
/**
* Sets the value of the hotFolder property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHotFolder(String value) {
this.hotFolder = value;
}
/**
* Gets the value of the distributedExecution property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDistributedExecution() {
return distributedExecution;
}
/**
* Sets the value of the distributedExecution property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDistributedExecution(Boolean value) {
this.distributedExecution = value;
}
/**
* Gets the value of the runOnHadoop property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRunOnHadoop() {
return runOnHadoop;
}
/**
* Sets the value of the runOnHadoop property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRunOnHadoop(Boolean value) {
this.runOnHadoop = value;
}
/**
* Gets the value of the variableProvider property.
*
* @return
* possible object is
* {@link VariableProvider }
*
*/
public VariableProvider getVariableProvider() {
return variableProvider;
}
/**
* Sets the value of the variableProvider property.
*
* @param value
* allowed object is
* {@link VariableProvider }
*
*/
public void setVariableProvider(VariableProvider value) {
this.variableProvider = value;
}
/**
* Gets the value of the alerts property.
*
* @return
* possible object is
* {@link Schedule.Alerts }
*
*/
public Schedule.Alerts getAlerts() {
return alerts;
}
/**
* Sets the value of the alerts property.
*
* @param value
* allowed object is
* {@link Schedule.Alerts }
*
*/
public void setAlerts(Schedule.Alerts value) {
this.alerts = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="alert" type="{http://eobjects.org/datacleaner/schedule/1.0}alert" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"alert"
})
public static class Alerts {
protected List alert;
/**
* Gets the value of the alert 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 alert property.
*
*
* For example, to add a new item, do as follows:
*
* getAlert().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Alert }
*
*
*/
public List getAlert() {
if (alert == null) {
alert = new ArrayList();
}
return this.alert;
}
}
}