de.elnarion.xwiki.rest.model.jaxb.JobStatus Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.04.18 at 06:54:28 PM CEST
//
package de.elnarion.xwiki.rest.model.jaxb;
import java.util.Calendar;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for JobStatus complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="JobStatus">
* <complexContent>
* <extension base="{http://www.xwiki.org}LinkCollection">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="request" type="{http://www.xwiki.org}JobRequest" minOccurs="0"/>
* <element name="state" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="progress" type="{http://www.xwiki.org}JobProgress" minOccurs="0"/>
* <element name="log" type="{http://www.xwiki.org}Log" minOccurs="0"/>
* <element name="startDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="endDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="serialized" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="isolated" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "JobStatus", propOrder = {
"id",
"request",
"state",
"progress",
"log",
"startDate",
"endDate",
"serialized",
"isolated",
"errorMessage"
})
@XmlRootElement(name = "jobStatus")
public class JobStatus
extends LinkCollection
{
protected String id;
protected JobRequest request;
@XmlElement(required = true)
protected String state;
protected JobProgress progress;
protected JobLog log;
@XmlElement(required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Calendar startDate;
@XmlElement(required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Calendar endDate;
protected Boolean serialized;
protected Boolean isolated;
@XmlElement(required = true)
protected String errorMessage;
/**
* 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 request property.
*
* @return
* possible object is
* {@link JobRequest }
*
*/
public JobRequest getRequest() {
return request;
}
/**
* Sets the value of the request property.
*
* @param value
* allowed object is
* {@link JobRequest }
*
*/
public void setRequest(JobRequest value) {
this.request = value;
}
/**
* Gets the value of the state property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getState() {
return state;
}
/**
* Sets the value of the state property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setState(String value) {
this.state = value;
}
/**
* Gets the value of the progress property.
*
* @return
* possible object is
* {@link JobProgress }
*
*/
public JobProgress getProgress() {
return progress;
}
/**
* Sets the value of the progress property.
*
* @param value
* allowed object is
* {@link JobProgress }
*
*/
public void setProgress(JobProgress value) {
this.progress = value;
}
/**
* Gets the value of the log property.
*
* @return
* possible object is
* {@link JobLog }
*
*/
public JobLog getLog() {
return log;
}
/**
* Sets the value of the log property.
*
* @param value
* allowed object is
* {@link JobLog }
*
*/
public void setLog(JobLog value) {
this.log = value;
}
/**
* Gets the value of the startDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Calendar getStartDate() {
return startDate;
}
/**
* Sets the value of the startDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStartDate(Calendar value) {
this.startDate = value;
}
/**
* Gets the value of the endDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Calendar getEndDate() {
return endDate;
}
/**
* Sets the value of the endDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEndDate(Calendar value) {
this.endDate = value;
}
/**
* Gets the value of the serialized property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isSerialized() {
return serialized;
}
/**
* Sets the value of the serialized property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setSerialized(Boolean value) {
this.serialized = value;
}
/**
* Gets the value of the isolated property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsolated() {
return isolated;
}
/**
* Sets the value of the isolated property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsolated(Boolean value) {
this.isolated = value;
}
/**
* Gets the value of the errorMessage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorMessage() {
return errorMessage;
}
/**
* Sets the value of the errorMessage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorMessage(String value) {
this.errorMessage = value;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy